Fix all lint errors

This commit is contained in:
Gregory Schier
2024-09-16 08:36:02 -07:00
parent 974ecd511d
commit 2951023ee8
19 changed files with 43 additions and 34 deletions

View File

@@ -55,7 +55,8 @@ export const UrlBar = memo(function UrlBar({
const handleSubmit = (e: FormEvent<HTMLFormElement>) => {
e.preventDefault();
isLoading ? onCancel() : onSend();
if (isLoading) onCancel();
else onSend();
};
return (