Infinite faq.json network calls when FAQ page is loaded
Created by: kousiksatish
Describe the bug I was inspecting the network calls when I identified that infinite number of faq.json calls are being made when we stay in that page.
To Reproduce
- Navigate to https://www.covid19india.org/faq d
- Open dev tools of chrome
- Observe network calls. Infinite number of faq.json calls are being made
Expected behavior Single faq.json call is sufficient
Desktop (please complete the following information):
- OS: Mac
- Browser: Chrome
Additional context On first look, I feel it is related to useEffect in faq.js