fix: leave focus on send button instead of autochanging to url bar (#5325)

This commit is contained in:
Arun Nalla
2022-10-25 18:39:38 +05:30
committed by GitHub
parent 7dd07ba2fe
commit ae2d91c2de

View File

@@ -228,7 +228,6 @@ export const RequestUrlBar = forwardRef<RequestUrlBarHandle, Props>(({
} else {
handleSend();
}
inputRef.current?.focus(true);
}, [downloadPath, handleSend, sendThenSetFilePath]);
useInterval(send, currentInterval ? currentInterval : null);