From afbcb522865dfc21ec25dbb7aa1ff38423fcd6f2 Mon Sep 17 00:00:00 2001 From: incognitotgt Date: Sat, 30 Dec 2023 12:08:34 -0500 Subject: [PATCH] So it loads, but when I try to set a different theme using localstorage, its broken? --- src/routes.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes.tsx b/src/routes.tsx index 138c227..876f459 100644 --- a/src/routes.tsx +++ b/src/routes.tsx @@ -9,11 +9,11 @@ import { AboutBlank } from "./AboutBlank"; //import AutocompleteInput from "./Autocomplete"; import "./style.css"; import "./i18n"; - +const theme:string = localStorage.getItem("theme") || "main"; export default function Routes() { return ( - +