@opexa/portal-components 0.0.942 → 0.0.944

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.
@@ -92,12 +92,10 @@ export function DisclaimerV2(props) {
92
92
  setTimeout(() => setShowWarning(false), 4000);
93
93
  return;
94
94
  }
95
- //new flow
96
95
  if (isAuthenticated) {
97
96
  globalStore.termsOfUse.setOpen(true);
98
- queueMicrotask(() => {
99
- disclaimer.close();
100
- });
97
+ disclaimer.close();
98
+ return;
101
99
  }
102
100
  disclaimer.close();
103
101
  }, children: "I Accept" })] })] }) })] }) }));
@@ -51,9 +51,8 @@ export function DisclaimerV3(props) {
51
51
  }
52
52
  if (isAuthenticated) {
53
53
  globalStore.termsOfUse.setOpen(true);
54
- queueMicrotask(() => {
55
- disclaimer.close();
56
- });
54
+ disclaimer.close();
55
+ return;
57
56
  }
58
57
  disclaimer.close();
59
58
  if (props.openOnboardingOnAgree) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.942",
3
+ "version": "0.0.944",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",