diff --git a/src/commponents/Errors.tsx b/src/commponents/Errors.tsx index 69d232f20..b93c2b641 100644 --- a/src/commponents/Errors.tsx +++ b/src/commponents/Errors.tsx @@ -15,7 +15,7 @@ export const Errors: React.FC = props => { return () => { clearTimeout(timeOut); }; - }, [errorType]); + }, [errorType, clearError]); return (