You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dark mode setting in ShopNex resets to light mode after the page is reloaded or refreshed. This issue disrupts the user experience, as users need to re-enable dark mode each time they revisit the site or refresh the page.
Steps to Reproduce
Navigate to the ShopNex website.
Enable dark mode.
Refresh the page or reload the website.
Observe that the dark mode setting reverts to light mode.
Expected Behavior
The dark mode setting should persist across page reloads and refreshes, maintaining the user's preference.
Actual Behavior
The dark mode setting resets to light mode after the page is refreshed.
Potential Cause:
This issue could be due to the dark mode preference not being stored correctly in local storage or not being retrieved properly when the page loads.
Issue Description
The dark mode setting in ShopNex resets to light mode after the page is reloaded or refreshed. This issue disrupts the user experience, as users need to re-enable dark mode each time they revisit the site or refresh the page.
Steps to Reproduce
Expected Behavior
The dark mode setting should persist across page reloads and refreshes, maintaining the user's preference.
Actual Behavior
The dark mode setting resets to light mode after the page is refreshed.
Potential Cause:
This issue could be due to the dark mode preference not being stored correctly in local storage or not being retrieved properly when the page loads.
Environment:
Browser: (e.g., Chrome, Firefox)
Operating System: (e.g., Windows 10, macOS 11)
React Version: (e.g., 17.0.2)
The text was updated successfully, but these errors were encountered: