Skip to content

Commit 4649c2d

Browse files
committed
Fix TypeScript build errors: unused vars and wrong import casing
1 parent 10457ba commit 4649c2d

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

packages/web/src/editor/dock/dock-group.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ReactNode } from "react";
22

33
export function DockGroup({
4-
label,
4+
label: _label,
55
children,
66
}: {
77
label: string;

packages/web/src/editor/top-chrome/theme-picker.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export function ThemePicker() {
3030
return () => document.removeEventListener("mousedown", h);
3131
}, [open]);
3232

33-
const current = THEMES.find((t) => t.id === theme);
3433

3534
return (
3635
<div className="relative" ref={ref}>

packages/web/src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "@fontsource/inter/700.css";
77
// @ts-expect-error — fontsource variable font CSS import
88
import "@fontsource-variable/jetbrains-mono";
99
import "./index.css";
10-
import { App } from "./app.tsx";
10+
import { App } from "./App.tsx";
1111
import { useEditorV2Store } from "./store/editor-store.ts";
1212

1313
// Apply saved UI scale before first paint

0 commit comments

Comments
 (0)