@asgardeo/react 0.24.1 → 0.24.2

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/cjs/index.js CHANGED
@@ -13906,7 +13906,9 @@ var BaseAcceptInvite = ({
13906
13906
  onComplete?.();
13907
13907
  },
13908
13908
  onError: (error) => {
13909
- setIsTokenInvalid(true);
13909
+ if (!error?.flowStatus) {
13910
+ setIsTokenInvalid(true);
13911
+ }
13910
13912
  setIsValidatingToken(false);
13911
13913
  handleError(error);
13912
13914
  },