@opexa/portal-components 0.0.941 → 0.0.942

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