diff options
| author | David Hill <[email protected]> | 2026-01-16 23:46:57 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2026-01-17 00:55:13 +0000 |
| commit | 54e52896a4eeb40f1e61d80c20c3b01c7dd8ad86 (patch) | |
| tree | dfed94c03721af23a691d18f65a5a817037910c2 | |
| parent | b18fb16e9c649081319d25c22de94bdac8993706 (diff) | |
| download | opencode-54e52896a4eeb40f1e61d80c20c3b01c7dd8ad86.tar.gz opencode-54e52896a4eeb40f1e61d80c20c3b01c7dd8ad86.zip | |
refactor: use Keybind component in search modal list
| -rw-r--r-- | packages/app/src/components/dialog-select-file.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/app/src/components/dialog-select-file.tsx b/packages/app/src/components/dialog-select-file.tsx index 3b80c2687..0f37e7989 100644 --- a/packages/app/src/components/dialog-select-file.tsx +++ b/packages/app/src/components/dialog-select-file.tsx @@ -1,6 +1,7 @@ import { useDialog } from "@opencode-ai/ui/context/dialog" import { Dialog } from "@opencode-ai/ui/dialog" import { FileIcon } from "@opencode-ai/ui/file-icon" +import { Keybind } from "@opencode-ai/ui/keybind" import { List } from "@opencode-ai/ui/list" import { getDirectory, getFilename } from "@opencode-ai/util/path" import { useParams } from "@solidjs/router" @@ -169,7 +170,7 @@ export function DialogSelectFile() { </Show> </div> <Show when={item.keybind}> - <span class="text-12-regular text-text-subtle shrink-0">{formatKeybind(item.keybind ?? "")}</span> + <Keybind>{formatKeybind(item.keybind ?? "")}</Keybind> </Show> </div> </Show> |
