White screen shows up with console errors if an invalid state code entered in URL
Created by: rajkapadia247
Describe the bug If I try to reach https://www.covid19india.org/state/MH, I am navigated to Maharashtra's page. However, if I try to reach https://www.covid19india.org/state/mh or https://www.covid19india.org/state/xyz I see a white screen. For the former, I should be redirected to Maharashtra's page and for the latter I should be navigated to the Home page.
To Reproduce Steps to reproduce the behavior:
- Go to https://www.covid19india.org/state/mh or https://www.covid19india.org/state/xyz
- A white screen shows up.
Expected behavior For /state/mh the user should be navigated to Maharashtra's page. For /state/xyz the user should be navigated to the Home page.
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Google Chrome
- Version: 81.0.4044.122
Additional context Add any other context about the problem here.