aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components
diff options
context:
space:
mode:
authorWolfboy248 <georgejvindkarlsen@gmail.com>2024-10-30 08:51:20 +0100
committerWolfboy248 <georgejvindkarlsen@gmail.com>2024-10-30 08:51:20 +0100
commit73596a835a60b558b0c6c94ccf0ef71fdd8b388a (patch)
treece2b1ecd1dbd86d3ac76e348234283207aff4549 /frontend/src/components
parentfrontend: fix switching maps but not updating (diff)
downloadlphub-73596a835a60b558b0c6c94ccf0ef71fdd8b388a.tar.gz
lphub-73596a835a60b558b0c6c94ccf0ef71fdd8b388a.tar.bz2
lphub-73596a835a60b558b0c6c94ccf0ef71fdd8b388a.zip
frontend: guys why does it do that
Diffstat (limited to 'frontend/src/components')
-rw-r--r--frontend/src/components/Summary.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/Summary.tsx b/frontend/src/components/Summary.tsx
index 23da82c..aa351da 100644
--- a/frontend/src/components/Summary.tsx
+++ b/frontend/src/components/Summary.tsx
@@ -57,7 +57,7 @@ const Summary: React.FC<SummaryProps> = ({ selectedRun, setSelectedRun, data })
57 57
58 React.useEffect(() => { 58 React.useEffect(() => {
59 _select_run(0, selectedCategory); 59 _select_run(0, selectedCategory);
60 }, []); 60 }, [selectedCategory]);
61 61
62 return ( 62 return (
63 <> 63 <>