Skip to content

Commit a0b1f03

Browse files
committed
Lint issues
1 parent aed3720 commit a0b1f03

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

web/editor_ui.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class MainUI {
106106
} else if (storedDarkModePreference === false) {
107107
theme = "light";
108108
} else {
109-
theme = window.matchMedia("(prefers-color-scheme: dark)").matches
109+
theme = globalThis.matchMedia("(prefers-color-scheme: dark)").matches
110110
? "dark"
111111
: "light";
112112
}

web/space_lua/stdlib/os.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { secureHeapUsed } from "node:crypto";
21
import { LuaBuiltinFunction, LuaTable } from "../runtime.ts";
32

43
const ONE_DAY = 1000 * 60 * 60 * 24;

0 commit comments

Comments
 (0)