@opexa/portal-components 0.0.993 → 0.0.995
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.
|
@@ -24,6 +24,7 @@ export function RegisterBiometrics() {
|
|
|
24
24
|
return {
|
|
25
25
|
kyc: ctx.kyc,
|
|
26
26
|
kycReminder: ctx.kycReminder,
|
|
27
|
+
disclaimer: ctx.disclaimer,
|
|
27
28
|
};
|
|
28
29
|
}));
|
|
29
30
|
return (_jsx(Dialog.Root, { open: registerBiometricStore.open &&
|
|
@@ -85,6 +86,7 @@ export function RegisterBiometrics() {
|
|
|
85
86
|
description: 'Biometric setup successful',
|
|
86
87
|
});
|
|
87
88
|
registerBiometricStore.setOpen(false);
|
|
89
|
+
kycModals.disclaimer.setOpen(true);
|
|
88
90
|
}, className: "text-sm", children: "Sure" }), _jsx(Button, { className: "border-border-dark text-sm text-text-primary-900", variant: "outline", onClick: () => {
|
|
89
91
|
registerBiometricStore.setOpen(false);
|
|
90
92
|
}, children: "Not now" })] })] }) }) }) }));
|
|
@@ -212,7 +212,9 @@ export function NameAndPasswordSignIn() {
|
|
|
212
212
|
onError(error) {
|
|
213
213
|
toaster.error({
|
|
214
214
|
title: 'Sign In Failed',
|
|
215
|
-
description:
|
|
215
|
+
description: formType === 'NAME_AND_PASSWORD'
|
|
216
|
+
? error.message
|
|
217
|
+
: 'Invalid security question',
|
|
216
218
|
});
|
|
217
219
|
},
|
|
218
220
|
});
|