Skip to content

Commit

Permalink
fix: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
HerringtonDarkholme committed Oct 14, 2024
1 parent e2f7506 commit 89e4327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"license": "MIT",
"main": "./out/extension.js",
"engines": {
"vscode": "^1.87.0"
"vscode": "^1.94.0"
},
"icon": "media/favicon.png",
"categories": ["Linters", "Programming Languages", "Other"],
Expand Down
2 changes: 1 addition & 1 deletion src/webview/hooks/useQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function useSearchField(key: keyof typeof LS_KEYS) {
setField(text)
refreshResult()
})
}, [key])
}, [key, field, setField])
useDebounce(refreshResult, 150, [field])
return [field, setField] as const
}
Expand Down

0 comments on commit 89e4327

Please sign in to comment.