We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
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); } };
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
π 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
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?
π’ Have you read the Contributing Guidelines?
The text was updated successfully, but these errors were encountered: