Skip to content

Commit

Permalink
remove unused dark mode logic that's now in DarkModeToggleLite component
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Nov 15, 2023
1 parent c242fdb commit f6ae978
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions MyApp/wwwroot/mjs/app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,4 @@ document.addEventListener('DOMContentLoaded', () =>
Blazor.addEventListener('enhancedload', () => {
remount()
globalThis.hljs?.highlightAll()
if (localStorage.getItem('color-scheme') == 'dark') {
document.documentElement.classList.add('dark')
}
}))

0 comments on commit f6ae978

Please sign in to comment.