feat: update lake water data and optimize visual components for real-time monitoring
This commit is contained in:
@@ -151,7 +151,7 @@ const LakesOverview = ({ language }: Props) => {
|
||||
const loadData = () => {
|
||||
fetch(`/data/lakes_index.json?t=${Date.now()}`)
|
||||
.then(res => res.json())
|
||||
.then(data => setLakes(data))
|
||||
.then(data => setLakes(data.filter((l: Lake & { type?: string }) => l.type !== 'river')))
|
||||
.catch(err => console.error(err));
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user