@opexa/portal-components 0.0.942 → 0.0.943

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,11 @@ 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
+ globalStore.termsOfUse.setNext('DISCLAIMER');
98
+ disclaimer.close();
99
+ return;
101
100
  }
102
101
  disclaimer.close();
103
102
  }, children: "I Accept" })] })] }) })] }) }));
@@ -51,9 +51,9 @@ export function DisclaimerV3(props) {
51
51
  }
52
52
  if (isAuthenticated) {
53
53
  globalStore.termsOfUse.setOpen(true);
54
- queueMicrotask(() => {
55
- disclaimer.close();
56
- });
54
+ globalStore.termsOfUse.setNext('DISCLAIMER');
55
+ disclaimer.close();
56
+ return;
57
57
  }
58
58
  disclaimer.close();
59
59
  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.943",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",