Skip to content

Commit

Permalink
fixed lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
azakharo committed Feb 9, 2025
1 parent b620a09 commit e2f6401
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/pages/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Login = () => {

navigate(url);
},
[login],
[login, navigate, urlParams],
);

return (
Expand All @@ -70,7 +70,11 @@ const Login = () => {
}}
component="form"
noValidate
onSubmit={handleSubmit(onSubmit)}
onSubmit={event => {
const returnedFunc = handleSubmit(onSubmit);

void returnedFunc(event);
}}
>
<Typography variant="h4" color="textPrimary">
Welcome to the test
Expand Down

0 comments on commit e2f6401

Please sign in to comment.