Skip to content

Commit

Permalink
fix: theme cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
sohamjaiswal committed Nov 10, 2023
1 parent 0b1e7de commit af38074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const handle: Handle = async ({ event, resolve }) => {
if (cookieTheme) {
theme = cookieTheme
} else {
event.cookies.set('theme', 'skeleton');
event.cookies.set('theme', 'modern');
theme = 'modern'
}
if (!session) {
Expand Down

0 comments on commit af38074

Please sign in to comment.