diff options
| author | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2024-10-30 08:51:20 +0100 |
|---|---|---|
| committer | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2024-10-30 08:51:20 +0100 |
| commit | 73596a835a60b558b0c6c94ccf0ef71fdd8b388a (patch) | |
| tree | ce2b1ecd1dbd86d3ac76e348234283207aff4549 /frontend/src/components/Summary.tsx | |
| parent | frontend: fix switching maps but not updating (diff) | |
| download | lphub-73596a835a60b558b0c6c94ccf0ef71fdd8b388a.tar.gz lphub-73596a835a60b558b0c6c94ccf0ef71fdd8b388a.tar.bz2 lphub-73596a835a60b558b0c6c94ccf0ef71fdd8b388a.zip | |
frontend: guys why does it do that
Diffstat (limited to '')
| -rw-r--r-- | frontend/src/components/Summary.tsx | 2 |
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 | <> |