Updated Dependencies (#104)

This commit is contained in:
Giancarlo Buomprisco
2025-01-07 20:34:40 +08:00
committed by GitHub
parent 10898231fe
commit 8f3c1b2aeb
21 changed files with 287 additions and 336 deletions

View File

@@ -10,7 +10,7 @@ type Theme = 'light' | 'dark' | 'system';
export async function getRootTheme() {
const cookiesStore = await cookies();
const themeCookie = cookiesStore.get('theme')?.value as Theme
const themeCookie = cookiesStore.get('theme')?.value as Theme;
return themeCookie ?? process.env.NEXT_PUBLIC_DEFAULT_THEME_MODE ?? 'light';
}