diff --git a/src/app/(mobile-ui)/add-money/[country]/bank/page.tsx b/src/app/(mobile-ui)/add-money/[country]/bank/page.tsx index 9c99f92cb9..33c56d53c7 100644 --- a/src/app/(mobile-ui)/add-money/[country]/bank/page.tsx +++ b/src/app/(mobile-ui)/add-money/[country]/bank/page.tsx @@ -515,7 +515,7 @@ export default function OnrampBankPage() { message={pendingModal.message} /> - +
diff --git a/src/app/(mobile-ui)/withdraw/manteca/page.tsx b/src/app/(mobile-ui)/withdraw/manteca/page.tsx index 4501750936..c5d99913fe 100644 --- a/src/app/(mobile-ui)/withdraw/manteca/page.tsx +++ b/src/app/(mobile-ui)/withdraw/manteca/page.tsx @@ -664,7 +664,6 @@ function MantecaBankWithdrawFlow() { onClose={limitIncreaseFlow.handleClose} onComplete={limitIncreaseFlow.handleSdkComplete} onRefreshToken={limitIncreaseFlow.refreshToken} - autoStart isMultiLevel /> void - onClose: () => void -}) => { - return ( -
-
- - verification -
- -
-
- -
-

Secure Verification. Limited Data Use.

-
-

- The verification is done using a trusted provider, which shares your verification status with - Peanut. -

-

- It operates under industry-standard security and privacy practices. -

-

Peanut never sees or stores your verification data.

-
- -
-
- ) -} - -export default StartVerificationView diff --git a/src/components/Global/IframeWrapper/index.tsx b/src/components/Global/IframeWrapper/index.tsx index 400ea683ab..1565b63345 100644 --- a/src/components/Global/IframeWrapper/index.tsx +++ b/src/components/Global/IframeWrapper/index.tsx @@ -3,7 +3,6 @@ import Modal from '../Modal' import { Icon, type IconName } from '../Icons/Icon' import ActionModal from '../ActionModal' import { useRouter } from 'next/navigation' -import StartVerificationView from './StartVerificationView' import { useModalsContext } from '@/context/ModalsContext' import { Button, type ButtonVariant } from '@/components/0_Bruddle/Button' @@ -12,15 +11,13 @@ export type IFrameWrapperProps = { visible: boolean onClose: (source?: 'manual' | 'completed' | 'tos_accepted') => void closeConfirmMessage?: string - skipStartView?: boolean } -const IframeWrapper = ({ src, visible, onClose, closeConfirmMessage, skipStartView }: IFrameWrapperProps) => { +const IframeWrapper = ({ src, visible, onClose, closeConfirmMessage }: IFrameWrapperProps) => { const enableConfirmationPrompt = closeConfirmMessage !== undefined const [isHelpModalOpen, setIsHelpModalOpen] = useState(false) const [modalVariant, setModalVariant] = useState<'stop-verification' | 'trouble'>('trouble') const [copied, setCopied] = useState(false) - const [isVerificationStarted, setIsVerificationStarted] = useState(skipStartView ?? false) const router = useRouter() const { setIsSupportModalOpen } = useModalsContext() @@ -72,8 +69,8 @@ const IframeWrapper = ({ src, visible, onClose, closeConfirmMessage, skipStartVi } return { - title: 'Exit and lose progress?', - description: 'If you exit now, you’ll need to start the ID check again from scratch.', + title: 'Exit for now?', + description: 'You can come back and finish this anytime.', icon: 'alert' as IconName, iconContainerClassName: 'bg-secondary-1', ctas: [ @@ -135,49 +132,42 @@ const IframeWrapper = ({ src, visible, onClose, closeConfirmMessage, skipStartVi preventClose={true} hideOverlay={false} > - {!isVerificationStarted ? ( - onClose('manual')} - onStartVerification={() => setIsVerificationStarted(true)} - /> - ) : ( -
-
-