fix dependency (#221)

This commit is contained in:
Michael Quigley 2024-10-04 12:04:22 -04:00
parent 3f00bb6ec0
commit 8bdf4f0548
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -59,7 +59,7 @@ function App() {
setVersion(data.v); setVersion(data.v);
} }
}); });
}, [api]); }, []);
useEffect(() => { useEffect(() => {
let mounted = true; let mounted = true;