@opexa/portal-components 0.0.625 → 0.0.627

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,8 @@ 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') {
46
47
  globalStore.kycReminder.setOpen(true);
47
48
  await refreshSession();
48
49
  await getSession();
@@ -46,7 +46,7 @@ export function KYCReminder(props) {
46
46
  const isAccountReady = !accountLoading;
47
47
  const isSessionReady = !sessionLoading && session?.status === 'authenticated';
48
48
  const isKYCReminderOpen = globalStore.kycReminder.open && !globalStore.kyc.open;
49
- const isResponsibleGamingReminderClosed = !globalStore.responsibleGamingReminder.open;
49
+ const isResponsibleGamingReminderClosed = !globalStore.responsibleGamingReminder.open || true;
50
50
  const isKYCStateRelevant = isNotVerified ||
51
51
  (isPending && isVerificationLocked) ||
52
52
  (isNotVerified && isVerificationLocked);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.625",
3
+ "version": "0.0.627",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",