diff --git a/packages/opencode/src/cli/cmd/tui/component/tips.tsx b/packages/opencode/src/cli/cmd/tui/component/tips.tsx index b475a98b34..16b454eaad 100644 --- a/packages/opencode/src/cli/cmd/tui/component/tips.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/tips.tsx @@ -1,5 +1,4 @@ import { createMemo, createSignal, For } from "solid-js" -import { useTerminalDimensions } from "@opentui/solid" import { DEFAULT_THEMES, useTheme } from "@tui/context/theme" import { Locale } from "@/util/locale" @@ -34,11 +33,10 @@ function parse(tip: string): TipPart[] { export function Tips() { const theme = useTheme().theme - const dimensions = useTerminalDimensions() const parts = parse(TIPS[Math.floor(Math.random() * TIPS.length)]) return ( - + ● Tip{" "} diff --git a/packages/opencode/src/cli/cmd/tui/routes/home.tsx b/packages/opencode/src/cli/cmd/tui/routes/home.tsx index b1766add0a..0fbfca8506 100644 --- a/packages/opencode/src/cli/cmd/tui/routes/home.tsx +++ b/packages/opencode/src/cli/cmd/tui/routes/home.tsx @@ -105,7 +105,7 @@ export function Home() { hint={Hint} /> - +