Skip to content

Commit f873312

Browse files
authored
added array for fix config.json loop
fixed the infinite loop for fetching the config.json file. i added an empty array on line 190
1 parent dd5c799 commit f873312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function App() {
187187

188188
useEffect(() => {
189189
getConfig();
190-
});
190+
}, []);
191191

192192
useEffect(() => {
193193
getData();

0 commit comments

Comments
 (0)