Skip to content

Commit

Permalink
fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
williamboman committed Dec 20, 2024
1 parent 8de6cae commit 5234663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/registry/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type Props = {
timestamp: string
}

const useVimSearchKeybind = (inputRef: RefObject<HTMLInputElement>) => {
const useVimSearchKeybind = (inputRef: RefObject<HTMLInputElement | null>) => {
useEffect(() => {
const handleKeyDown = (event: KeyboardEvent) => {
if (event.key === "/") {
Expand Down

0 comments on commit 5234663

Please sign in to comment.