Skip to content

Dark and light mode bug fixed - #573

Open
Bogeshwararao wants to merge 1 commit into
JiyaGupta-cs:masterfrom
Bogeshwararao:master
Open

Dark and light mode bug fixed#573
Bogeshwararao wants to merge 1 commit into
JiyaGupta-cs:masterfrom
Bogeshwararao:master

Conversation

@Bogeshwararao

@Bogeshwararao Bogeshwararao commented Feb 20, 2025

Copy link
Copy Markdown

Title and Issue number

Title :
Dark and light mode bug fixed
Issue No. :#573

Close #<issue_no>

Changes Made

[List the specific changes made in this pull request.]

Screenshots (if applicable)

[Include any relevant screenshots or images to support your changes.]

Checklist

  • I have tested these changes locally.
  • I have reviewed the code and ensured it follows the project's coding standards.
  • I have updated the documentation (if necessary).
  • I have read the contributing guidelines.

@vercel

vercel Bot commented Feb 20, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
shop-nex ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 1:02pm

shaonidutta added a commit to shaonidutta/ShopNex that referenced this pull request Jul 1, 2025
 Bug Fix:
- Dark mode setting now persists in localStorage
- Theme preference is maintained across browser sessions
- Initialize theme from localStorage on app load

 Technical Changes:
- Added useEffect hook for localStorage persistence
- Enhanced theme state initialization with localStorage check
- Automatic saving when theme state changes

 Resolves:
- Dark mode resetting to light mode after page refresh
- Improved user experience with persistent theme preference

Fixes JiyaGupta-cs#573
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant