summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-09-19 07:18:25 -0500
committerAdam <[email protected]>2025-09-19 07:18:39 -0500
commite5271f3d1aa7a11f83e9ce5264a6720567ba2eaa (patch)
treea8f874fe1dc5f97f4e2d4a7eaf0c3b0a8b9d64b1
parent1edb23c2c72ad03bd1de8ef865b99f181a0b224a (diff)
downloadopencode-e5271f3d1aa7a11f83e9ce5264a6720567ba2eaa.tar.gz
opencode-e5271f3d1aa7a11f83e9ce5264a6720567ba2eaa.zip
wip: desktop work
-rw-r--r--packages/app/src/components/select.tsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/app/src/components/select.tsx b/packages/app/src/components/select.tsx
index 80c8d605a..a44521dc0 100644
--- a/packages/app/src/components/select.tsx
+++ b/packages/app/src/components/select.tsx
@@ -30,7 +30,6 @@ export interface SelectProps<T> {
export function Select<T>(props: SelectProps<T>) {
let inputRef: HTMLInputElement | undefined = undefined
let listboxRef: HTMLUListElement | undefined = undefined
- let contentRef: HTMLDivElement | undefined = undefined
const [store, setStore] = createStore({
filter: "",
})
@@ -144,7 +143,6 @@ export function Select<T>(props: SelectProps<T>) {
</KobalteSelect.Trigger>
<KobalteSelect.Portal>
<KobalteSelect.Content
- ref={(el) => (contentRef = el)}
onKeyDown={(e) => {
if (!props.filter) return
if (e.key === "ArrowUp" || e.key === "ArrowDown" || e.key === "Escape") {