Cookie Fehler

This commit is contained in:
Moritz Utcke
2024-11-20 12:24:04 +11:00
parent 60c6785abd
commit f600670e60

View File

@@ -38,7 +38,7 @@ const schema = JSON.stringify({
},
});
const lightTheme = Astro.cookies.get("theme").value === "light";
const lightTheme = Astro.cookies.get("theme")?.value === "light";
---
<!DOCTYPE html>