Skip to content

Commit c924d20

Browse files
committed
chore: remove unused import
1 parent e71ad1d commit c924d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/(account)/resend-confirm-email/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const postResendConfirmationMail = async (_: ResendConfirmationMailReques
4242
return {success: false, error: error};
4343
}
4444

45-
throw new Error('Unknown error');
45+
return {success: false, error: {error: 'An unexpected error happened', status: 500}};
4646
}
4747

4848
} catch (e) {

0 commit comments

Comments
 (0)