@opexa/portal-components 0.0.227 → 0.0.229
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.
|
@@ -21,8 +21,8 @@ export function KYCReminder(props) {
|
|
|
21
21
|
const isUploadCompleted = verification &&
|
|
22
22
|
verification.idFrontImage !== null &&
|
|
23
23
|
verification.selfieImage !== null;
|
|
24
|
-
const
|
|
25
|
-
const hasMissingData = !isBasicInfoCompleted || !isUploadCompleted ||
|
|
24
|
+
const isVerified = !!verification && verification.status === 'VERIFIED';
|
|
25
|
+
const hasMissingData = !isBasicInfoCompleted || !isUploadCompleted || !isVerified;
|
|
26
26
|
return (_jsx(Dialog.Root, { open: globalStore.kycReminder.open &&
|
|
27
27
|
!sessionLoading &&
|
|
28
28
|
!accountLoading &&
|
|
@@ -30,6 +30,7 @@ export function MessagesPopup() {
|
|
|
30
30
|
messages: ctx.messages,
|
|
31
31
|
gameLaunch: ctx.gameLaunch,
|
|
32
32
|
depositWithdrawal: ctx.depositWithdrawal,
|
|
33
|
+
kycReminder: ctx.kycReminder,
|
|
33
34
|
})));
|
|
34
35
|
const markMessageAsReadMutation = useMarkMessageAsReadMutation();
|
|
35
36
|
const [paused, setPaused] = useState(false);
|
|
@@ -70,6 +71,7 @@ export function MessagesPopup() {
|
|
|
70
71
|
!globalStore.account.open &&
|
|
71
72
|
!globalStore.account__mobile.open &&
|
|
72
73
|
!globalStore.kyc.open &&
|
|
74
|
+
!globalStore.kycReminder.open &&
|
|
73
75
|
!paused,
|
|
74
76
|
refetchInterval: disclosure.open ? undefined : 1000 * 10,
|
|
75
77
|
});
|