mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-15 18:35:55 -07:00
fix: set default theme to 'yuu'
This commit is contained in:
parent
1a5a6acc95
commit
974069a466
1 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
let theme = localStorage.getItem('theme') ?? 'midnight'
|
let theme = localStorage.getItem('theme') ?? 'yuu'
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
@ -99,7 +99,7 @@ export function ErrorBoundary() {
|
||||||
stack = error.stack;
|
stack = error.stack;
|
||||||
}
|
}
|
||||||
|
|
||||||
let theme = 'midnight'
|
let theme = 'yuu'
|
||||||
try {
|
try {
|
||||||
theme = localStorage.getItem('theme') ?? theme
|
theme = localStorage.getItem('theme') ?? theme
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue