Closed Ritik-The-Dev closed 6 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
wanderlust | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 18, 2024 6:17pm |
wanderlust-backend | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 18, 2024 6:17pm |
Summary
Fixed the issue of the theme changing to light mode on page refresh in the add blogs page by adding the class "dark" to the document if the theme is set to "dark" in local storage.
Description
The issue occurred because the class list did not include "dark" while in dark mode, so I added it when the theme is set to "dark" in local storage.
Issue(s) Addressed
Closes #159
Prerequisites