Skip to content

Commit 9d8e5c3

Browse files
committed
fix error
1 parent affb4b4 commit 9d8e5c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/App.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ function App() {
100100
}
101101

102102
useEffect(() => {
103-
checkForUpdates();
104-
}, []);
103+
checkForUpdates();
104+
}, [checkForUpdates]);
105+
105106
return (
106107
<ThemeProvider theme={theme}>
107108
<CssBaseline />

0 commit comments

Comments
 (0)