@stokr/components-library 3.0.49 → 3.0.50

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.
@@ -540,7 +540,12 @@ class AuthProviderClass extends Component {
540
540
  checkUserIsValid = (user) => {
541
541
  if (!user) {
542
542
  throw new Error("User is not defined");
543
- } else if (!user?.emailVerified && !isAlreadyOnOnboardingFlow()) {
543
+ }
544
+ const isOnVerifyEmailPage = window.location.href.includes("verifyEmail");
545
+ if (isOnVerifyEmailPage) {
546
+ return true;
547
+ }
548
+ if (!user?.emailVerified && !isAlreadyOnOnboardingFlow()) {
544
549
  navigateToHref(this.props.navigate, `${getConfig("onboardingUrl")}/resend-activation-email`);
545
550
  return false;
546
551
  } else if (!user?.country && user?.user_type === "investor" && !isAlreadyOnOnboardingFlow()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokr/components-library",
3
- "version": "3.0.49",
3
+ "version": "3.0.50",
4
4
  "description": "STOKR - Components Library",
5
5
  "author": "Bilal Hodzic <bilal@stokr.io>",
6
6
  "license": "MIT",