adrianhajdin / project_syncfusion_dashboard

This is a code repository for the corresponding YouTube video. In this tutorial we are going to build and deploy a an admin dashboard app using React.js and Syncfusion
https://jsmastery.pro
GNU Affero General Public License v3.0
3.04k stars 1.05k forks source link

Mode changes are lost during refresh #12

Closed vtx22 closed 2 years ago

vtx22 commented 2 years ago

In the ContextProvider.js file, the colorMode and the themeMode are stored in the localStorage. However, if the user reloads the site those changes are lost due to the hardcoded default settings.

vtx22 commented 2 years ago

I noticed that you implemented this feature in the App.js