ahlsunnah / learn-islam-ui

A learning platform written with Typescript, React and Gatsbyjs
https://learn-islam.ahlsunnah.dev
Other
3 stars 2 forks source link

Fix the double fetch in `/app/tracks` #464

Open abumalick opened 4 years ago

abumalick commented 4 years ago

When we are in tracks, there is a double loading, we see that the app is fetching the tracks one time. After that it displays: "Loading" and after that it displays the tracks again.

When we look at network tab, we see that the data is fetched two times. We should try to discover what is causing this double load