mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 13:00:13 +02:00
disable bugged react-hooks rules
This commit is contained in:
@@ -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();
|
||||
}
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user