Skip to content

Commit 61068a6

Browse files
committed
feat: added redirect to / after cancelling sign up
1 parent 4821234 commit 61068a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/signup/components/sign-up-form.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export default function SignUpForm() {
8585
const handleCancelSignUp = (event: MouseEvent<HTMLButtonElement>) => {
8686
event.preventDefault();
8787
clearUser();
88+
memoizedHandleAfterSignUp();
8889
};
8990

9091
const handleFileChange = (event: ChangeEvent<HTMLInputElement>) => {

0 commit comments

Comments
 (0)