@opexa/portal-components 0.0.1134 → 0.0.1135
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.
|
@@ -26,7 +26,6 @@ export function KYCDefault(props) {
|
|
|
26
26
|
!globalStore.kycReminder.open &&
|
|
27
27
|
!sessionLoading &&
|
|
28
28
|
!globalStore.disclaimer.open &&
|
|
29
|
-
!globalStore.updateMobilePhoneNumber.open &&
|
|
30
29
|
!globalStore.termsOfUse.open;
|
|
31
30
|
return (_jsxs(_Fragment, { children: [_jsx(KYCDefaultContext, { value: kyc, children: _jsx(Dialog.Root, { open: isDialogOpen, onOpenChange: (details) => {
|
|
32
31
|
globalStore.kyc.setOpen(details.open);
|
|
@@ -127,7 +127,10 @@ export function UpdateMobilePhoneNumber() {
|
|
|
127
127
|
duration: 1000 * 60,
|
|
128
128
|
});
|
|
129
129
|
const formRef = useRef(null);
|
|
130
|
-
|
|
130
|
+
const isOpen = globalStore.updateMobilePhoneNumber.open &&
|
|
131
|
+
featureFlag.enabled &&
|
|
132
|
+
!globalStore.kyc.open;
|
|
133
|
+
return (_jsx(Dialog.Root, { open: isOpen, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { className: "flex items-center", children: _jsxs(Dialog.Content, { className: "flex w-[375px] flex-col items-center space-y-4 rounded-xl bg-[#111827] p-6 text-center", style: {
|
|
131
134
|
backgroundImage: `url(${lightBg.src})`,
|
|
132
135
|
}, children: [_jsx(Image, { src: inplayLogo, alt: "inplay logo", width: 82, height: 34, className: "h-auto w-[82px]" }), _jsxs("div", { children: [step === 1 && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "font-bold text-sm", children: ["Get ", _jsx("span", { className: "text-[#F05127]", children: "\u20B150 Bonus" }), " when you verify your account and play."] }), _jsxs("form", { className: "mt-3xl", onSubmit: step1Form.handleSubmit(async (data) => {
|
|
133
136
|
sendVerificationCodeMutation.mutateAsync({
|