@opexa/portal-components 0.0.626 → 0.0.628

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.
@@ -42,7 +42,9 @@ export const useAccountQuery = (config) => {
42
42
  //check if not verified and locked
43
43
  }
44
44
  else if (res.status === 'VERIFICATION_LOCKED' &&
45
- res?.verificationStatus !== 'VERIFIED') {
45
+ res?.verificationStatus !== 'VERIFIED' &&
46
+ session.status === 'authenticated' &&
47
+ typeof window !== 'undefined') {
46
48
  globalStore.kycReminder.setOpen(true);
47
49
  await refreshSession();
48
50
  await getSession();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.626",
3
+ "version": "0.0.628",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",