disable bugged react-hooks rules

This commit is contained in:
jeffvli
2025-11-18 00:02:48 -08:00
parent bd5f2b8f68
commit 05deafdffb
4 changed files with 12 additions and 24 deletions
@@ -32,10 +32,8 @@ export const SearchInput = ({
() => {
if (enableHotkey) {
setIsInputMode(true);
setTimeout(() => {
ref?.current?.focus();
ref?.current?.select();
}, 0);
ref?.current?.focus();
ref?.current?.select();
}
},
],