Evonofy / NeoExpensive

🕹 Projeto de E-Commerce para a ETEC.
https://neo-florescence.github.io/NeoExpertise/
MIT License
3 stars 0 forks source link

[BUG] Theme Context API not using saved localStorage theme #36

Closed vitorgouveia closed 3 years ago

vitorgouveia commented 3 years ago

Describe the bug When you reload the page, the theme context gets the default theme, not the one saved on localStorage

To Reproduce set any theme except for dark, then reload the page

Expected behavior for it to use/set the theme saved in localStorage