oops
This commit is contained in:
parent
6c1af29847
commit
2c6ea4ce0e
1 changed files with 1 additions and 1 deletions
|
@ -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 <>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue