Skip to content

Fix dark/light theme toggle functionality#21

Open
riyachaudhari912 wants to merge 1 commit into
indresh404:mainfrom
riyachaudhari912:fix-theme-toggle
Open

Fix dark/light theme toggle functionality#21
riyachaudhari912 wants to merge 1 commit into
indresh404:mainfrom
riyachaudhari912:fix-theme-toggle

Conversation

@riyachaudhari912
Copy link
Copy Markdown

Description
Fixed the dark/light mode toggle functionality.

Changes made

  • Corrected ThemeToggle.jsx to use toggleTheme
  • Ensured instant theme switching
  • Preserved selected theme using localStorage
  • Restored theme correctly on page reload
  • Kept existing UI and styling unchanged

@vercel
Copy link
Copy Markdown

vercel Bot commented May 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ranker-hub Ready Ready Preview, Comment May 25, 2026 5:48pm

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