2👍
✅
The images are working and included, but the issue is that the .dark
or .light
classes aren’t being applied.
Looks like you have a theme
value set in your local storage that is not present on the netlify app.
Replace
const theme = localStorage.getItem('theme')
with
let theme = localStorage.getItem('theme');
if (theme !== 'dark') theme = 'light'
this will ensure that there always is a default, and only allows light
or dark
Source:stackexchange.com