@insforge/react 0.5.8 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/forms.cjs CHANGED
@@ -662,7 +662,7 @@ function AuthEmailVerificationStep({
662
662
  emailSent = false
663
663
  }) {
664
664
  const { sendVerificationEmail } = useInsforge();
665
- const [resendDisabled, setResendDisabled] = react.useState(true);
665
+ const [resendDisabled, setResendDisabled] = react.useState(emailSent ? true : false);
666
666
  const [resendCountdown, setResendCountdown] = react.useState(emailSent ? 60 : 0);
667
667
  const [isSending, setIsSending] = react.useState(false);
668
668
  const [verificationCode, setVerificationCode] = react.useState("");