From f873312a0e02b06daabe27ae51b109f10023cf0d Mon Sep 17 00:00:00 2001 From: MultiplierFinance1 <88823757+MultiplierFinance1@users.noreply.github.com> Date: Sun, 3 Oct 2021 20:44:20 +0200 Subject: [PATCH] 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 --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 468192dac..f2d22e687 100644 --- a/src/App.js +++ b/src/App.js @@ -187,7 +187,7 @@ function App() { useEffect(() => { getConfig(); - }); + }, []); useEffect(() => { getData();