@insforge/react 0.5.9 → 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.js CHANGED
@@ -660,7 +660,7 @@ function AuthEmailVerificationStep({
660
660
  emailSent = false
661
661
  }) {
662
662
  const { sendVerificationEmail } = useInsforge();
663
- const [resendDisabled, setResendDisabled] = useState(true);
663
+ const [resendDisabled, setResendDisabled] = useState(emailSent ? true : false);
664
664
  const [resendCountdown, setResendCountdown] = useState(emailSent ? 60 : 0);
665
665
  const [isSending, setIsSending] = useState(false);
666
666
  const [verificationCode, setVerificationCode] = useState("");