diff options
Diffstat (limited to 'frontend/src/pages/Games.tsx')
| -rw-r--r-- | frontend/src/pages/Games.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/frontend/src/pages/Games.tsx b/frontend/src/pages/Games.tsx index ce3db76..eb7177f 100644 --- a/frontend/src/pages/Games.tsx +++ b/frontend/src/pages/Games.tsx | |||
| @@ -18,13 +18,9 @@ const Games: React.FC = () => { | |||
| 18 | loaders.forEach((loader) => { | 18 | loaders.forEach((loader) => { |
| 19 | (loader as HTMLElement).style.display = "none"; | 19 | (loader as HTMLElement).style.display = "none"; |
| 20 | }); | 20 | }); |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | React.useEffect(() => { | 23 | React.useEffect(() => { |
| 24 | document.querySelectorAll(".games-page-item-body").forEach((game, index) => { | ||
| 25 | game.innerHTML = ""; | ||
| 26 | }); | ||
| 27 | |||
| 28 | _fetch_games(); | 24 | _fetch_games(); |
| 29 | _page_load(); | 25 | _page_load(); |
| 30 | }, []); | 26 | }, []); |