App.js runs 4 times on initial load

Hey guys, really curious here why my App.js runs 4 times.

I think it should run twice when the app first loads and when the app makes an api call during useEffect (componentDidMount). But looks like it’s running 4 times if you check the console.

Here is my app. Any help would be appreciated!

Here is my code

Oops sorry It was because my loading state was changing.