diff options
| author | Adam <[email protected]> | 2025-10-03 09:04:28 -0500 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-10-03 09:04:28 -0500 |
| commit | 3fa280d21878ae391674a21758199df3d2d8c3b5 (patch) | |
| tree | f70c6ecafffeecc8e7a59dc9acef66c59a9ea54a /packages/app/src/components/session-list.tsx | |
| parent | 1d58b5548287a3e32ffce3abdcf0f2db08fdb155 (diff) | |
| download | opencode-3fa280d21878ae391674a21758199df3d2d8c3b5.tar.gz opencode-3fa280d21878ae391674a21758199df3d2d8c3b5.zip | |
chore: app -> desktop
Diffstat (limited to 'packages/app/src/components/session-list.tsx')
| -rw-r--r-- | packages/app/src/components/session-list.tsx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/packages/app/src/components/session-list.tsx b/packages/app/src/components/session-list.tsx deleted file mode 100644 index e0819780d..000000000 --- a/packages/app/src/components/session-list.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import { useSync, useLocal } from "@/context" -import { Button, Tooltip } from "@/ui" -import { VList } from "virtua/solid" - -export default function SessionList() { - const sync = useSync() - const local = useLocal() - - return ( - <VList data={sync.data.session} class="p-2"> - {(session) => ( - <Tooltip placement="right" value={session.title} class="w-full min-w-0"> - <Button - size="sm" - variant="ghost" - classList={{ - "w-full min-w-0 py-1 text-left truncate justify-start text-text-muted text-xs": true, - "text-text!": local.session.active()?.id === session.id, - }} - onClick={() => local.session.setActive(session.id)} - > - <span class="truncate">{session.title}</span> - </Button> - </Tooltip> - )} - </VList> - ) -} |
