Remove unused props from components

This commit is contained in:
Ephraim Atta-Duncan
2023-06-07 10:37:47 +00:00
parent 7cc1ae2de0
commit 54a965e2b4
3 changed files with 8 additions and 16 deletions

View File

@@ -12,7 +12,7 @@ interface ResetPasswordForm {
confirmPassword: string;
}
export default function ResetPassword(props: any) {
export default function ResetPassword() {
const router = useRouter();
const { token } = router.query;
@@ -48,7 +48,7 @@ export default function ResetPassword(props: any) {
setResetSuccessful(true);
setTimeout(() => {
router.push("/login");
}, 2000);
}, 3000);
}
};