diff --git a/client/src/pages/RegistrationPage/RegistrationPage.tsx b/client/src/pages/RegistrationPage/RegistrationPage.tsx index 034a095..d378d70 100644 --- a/client/src/pages/RegistrationPage/RegistrationPage.tsx +++ b/client/src/pages/RegistrationPage/RegistrationPage.tsx @@ -57,7 +57,7 @@ const RegistrationPage = () => { .then(() => { navigate('/app/main'); }) - .catch((error) => { + .catch((error: Error) => { console.error('Error adding user to state:', error); }); } catch (error) {