summaryrefslogtreecommitdiffhomepage
path: root/packages/app/src/components
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-24 20:30:52 -0600
committerAdam <[email protected]>2025-12-24 20:30:52 -0600
commit8a9b4245b4dc75838e3b5ad0ff329c492a89cc41 (patch)
treeb793f9b485f63e858cb7d8926fe6a90b789ff6bc /packages/app/src/components
parent76ac1ccb6b4023ff67cc2dd130317148b6c753d7 (diff)
downloadopencode-8a9b4245b4dc75838e3b5ad0ff329c492a89cc41.tar.gz
opencode-8a9b4245b4dc75838e3b5ad0ff329c492a89cc41.zip
chore: cleanup dead code
Diffstat (limited to 'packages/app/src/components')
-rw-r--r--packages/app/src/components/file-tree.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/app/src/components/file-tree.tsx b/packages/app/src/components/file-tree.tsx
index 0841c71d1..3439d366c 100644
--- a/packages/app/src/components/file-tree.tsx
+++ b/packages/app/src/components/file-tree.tsx
@@ -2,7 +2,7 @@ import { useLocal, type LocalFile } from "@/context/local"
import { Collapsible } from "@opencode-ai/ui/collapsible"
import { FileIcon } from "@opencode-ai/ui/file-icon"
import { Tooltip } from "@opencode-ai/ui/tooltip"
-import { For, Match, Switch, Show, type ComponentProps, type ParentProps } from "solid-js"
+import { For, Match, Switch, type ComponentProps, type ParentProps } from "solid-js"
import { Dynamic } from "solid-js/web"
export default function FileTree(props: {
@@ -57,14 +57,14 @@ export default function FileTree(props: {
"text-text-muted/40": p.node.ignored,
"text-text-muted/80": !p.node.ignored,
// "!text-text": local.file.active()?.path === p.node.path,
- "!text-primary": local.file.changed(p.node.path),
+ // "!text-primary": local.file.changed(p.node.path),
}}
>
{p.node.name}
</span>
- <Show when={local.file.changed(p.node.path)}>
- <span class="ml-auto mr-1 w-1.5 h-1.5 rounded-full bg-primary/50 shrink-0" />
- </Show>
+ {/* <Show when={local.file.changed(p.node.path)}> */}
+ {/* <span class="ml-auto mr-1 w-1.5 h-1.5 rounded-full bg-primary/50 shrink-0" /> */}
+ {/* </Show> */}
</Dynamic>
)