Skip to content

Commit

Permalink
Fix dark mode image setting (#923)
Browse files Browse the repository at this point in the history
Co-authored-by: Emruz Hossain <[email protected]>
  • Loading branch information
andrewmolyuk and hossainemruz authored May 10, 2024
1 parent e3da3d4 commit 2b47657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/scripts/features/darkmode/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ window.addEventListener('load', async () => {
// save preference to local storage
saveScheme(newScheme)

setImages(newScheme)
setImages(theme)
}

setScheme(loadScheme())
Expand Down

0 comments on commit 2b47657

Please sign in to comment.