-
Notifications
You must be signed in to change notification settings - Fork 441
Open
Description
π Description
I was going through the codebase and found this pattern, is there any purpose of this. If not, we can replace it with simple false?
π Reproduction steps
- Go /job-board/src/app/(auth)/verify-email/[token]/EmailVerificationLinkExpired.tsx
- refer finally in below function
- setIsLoading(!true) instead of setIsLoading(false);
const handleResendClick = async () => { setIsLoading(true); try { await verifyEmail({ token, resend: true }); setIsEmailSent(true); } catch { toast({ variant: 'destructive', title: 'Something went wrong, please try again!', }); } finally { setIsLoading(!true); } };
π Expected behavior
No response
π Provide any additional context for the Bug.
No response
π Have you spent some time to check if this bug has been raised before?
- I checked and didn't find similar issue
π’ Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Metadata
Metadata
Assignees
Labels
No labels