Skip to content

Commit

Permalink
improve code
Browse files Browse the repository at this point in the history
  • Loading branch information
AlyonaV22 committed Dec 21, 2024
1 parent 7e2b32c commit 6069bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commponents/Errors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const Errors: React.FC<Props> = props => {
return () => {
clearTimeout(timeOut);
};
}, [errorType]);
}, [errorType, clearError]);

return (
<div
Expand Down

0 comments on commit 6069bf9

Please sign in to comment.