From a62a768950cc74960af60b554669a67f91344c67 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Wed, 30 Oct 2024 11:58:15 +0300 Subject: frontend: revert map index --- frontend/src/components/Summary.tsx | 2 +- frontend/src/pages/Maps.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Summary.tsx b/frontend/src/components/Summary.tsx index aa351da..23da82c 100644 --- a/frontend/src/components/Summary.tsx +++ b/frontend/src/components/Summary.tsx @@ -57,7 +57,7 @@ const Summary: React.FC = ({ selectedRun, setSelectedRun, data }) React.useEffect(() => { _select_run(0, selectedCategory); - }, [selectedCategory]); + }, []); return ( <> diff --git a/frontend/src/pages/Maps.tsx b/frontend/src/pages/Maps.tsx index bc939cf..9862cbb 100644 --- a/frontend/src/pages/Maps.tsx +++ b/frontend/src/pages/Maps.tsx @@ -83,7 +83,7 @@ const Maps: React.FC = ({ token, isModerator }) => {
- +
{mapSummaryData.map.map_name}
-- cgit v1.2.3