Skip to content

Commit

Permalink
Fix any type on error variables
Browse files Browse the repository at this point in the history
  • Loading branch information
JonMike8 committed Jan 29, 2025
1 parent f5074a4 commit 8dae25f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const Register = () => {
);
setFormData(values);
setEmailVerificationStep(true);
} catch (error: any) {
} catch (error) {
console.error(error);
}
};
Expand All @@ -51,15 +51,15 @@ const Register = () => {
if (session && session instanceof CognitoUserSession) {
navigate('/organizations');
}
} catch (error: any) {
} catch (error) {
console.error(error);
}
};
const resendConfirmationCode = async () => {
setResendingCode(true);
try {
await resendVerificationCode(formData.email!);
} catch (error: any) {
} catch (error) {
console.error(error);
}
};
Expand Down

0 comments on commit 8dae25f

Please sign in to comment.