Open zakariyaehamdaoui opened 4 months ago
did you find the solution?
i think the way the code is written it tries to access local storage on server and since its a browser thing so it might give an error (even though use client is used) so i changed the logic a bit here and that removes error
`at ThemeContextProvider (./src/context/Themecontext.jsx:20:78) digest: "987892600" 5 | const getFromLocalStorage = () => { 6 | if (typeof window !== undefined) {