Closed abhishekp21 closed 5 months ago
@abhishekp21 can you please add console.log(theme)
to the beginning of the function setThemeAttr
in the Theme.tsx
?
@Kamahl19 PFA
@abhishekp21 Thats because the theme is stored in localstorage under the theme
key. You have probably run another application on localhost which also set its theme under the same key.
You need to either purge the localstorage for localhost or change the key under which the theme is stored
@Kamahl19 Ya, Its true it was my bad. I was running some other application which was causing this issue after purging its seems to be working perfectly. Thanks for the quick response.
@abhishekp21 I will add a check into Theme.tsx so this doesnt happen again. Thanks!
@Kamahl19 The React starter project is excellent, and I'm grateful for it. Today, I fetched the most recent version from the master branch and adhered to the instructions in the readme file. However, I encountered issues when launching the application.
Any suggestion will be grateful.