From 2c6ea4ce0ebb8fcb85500651fbaba8267246f99a Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Thu, 28 Nov 2024 13:35:56 +0100 Subject: [PATCH] oops --- src/routes/(editor).tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(editor).tsx b/src/routes/(editor).tsx index c6cb51b..98ba34a 100644 --- a/src/routes/(editor).tsx +++ b/src/routes/(editor).tsx @@ -42,7 +42,7 @@ export default function Editor(props: ParentProps) { const themeColor = createMemo(() => { theme(); - return window.getComputedStyle(document.body).backgroundColor; + return globalThis.getComputedStyle(document.body).backgroundColor; }); return <>