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 008c88951..a54a02b5c 100644 --- a/src/app/(mobile-ui)/add-money/[country]/bank/page.tsx +++ b/src/app/(mobile-ui)/add-money/[country]/bank/page.tsx @@ -16,7 +16,6 @@ import { useCreateOnramp } from '@/hooks/useCreateOnramp' import { useRouter, useParams } from 'next/navigation' import { useCallback, useEffect, useMemo, useRef, useState } from 'react' import { formatUnits } from 'viem' -import Icon from '@/components/Global/Icon' import PeanutLoading from '@/components/Global/PeanutLoading' import EmptyState from '@/components/Global/EmptyStates/EmptyState' import { UserDetailsForm, type UserDetailsFormData } from '@/components/AddMoney/UserDetailsForm' @@ -25,6 +24,7 @@ import AddMoneyBankDetails from '@/components/AddMoney/components/AddMoneyBankDe import { getCurrencyConfig, getCurrencySymbol, getMinimumAmount } from '@/utils/bridge.utils' import { OnrampConfirmationModal } from '@/components/AddMoney/components/OnrampConfirmationModal' import { InitiateBridgeKYCModal } from '@/components/Kyc/InitiateBridgeKYCModal' +import InfoCard from '@/components/Global/InfoCard' type AddStep = 'inputAmount' | 'kyc' | 'loading' | 'collectUserDetails' | 'showDetails' @@ -342,10 +342,12 @@ export default function OnrampBankPage() { } hideBalance={true} /> -
- - This must exactly match what you send from your bank -
+ + Share Details diff --git a/src/components/AddMoney/components/OnrampConfirmationModal.tsx b/src/components/AddMoney/components/OnrampConfirmationModal.tsx index 6e07590bc..bef577fbd 100644 --- a/src/components/AddMoney/components/OnrampConfirmationModal.tsx +++ b/src/components/AddMoney/components/OnrampConfirmationModal.tsx @@ -1,15 +1,24 @@ 'use client' import ActionModal from '@/components/Global/ActionModal' +import InfoCard from '@/components/Global/InfoCard' import { Slider } from '@/components/Slider' interface OnrampConfirmationModalProps { visible: boolean onClose: () => void onConfirm: () => void + amount: string + currency: string } -export const OnrampConfirmationModal = ({ visible, onClose, onConfirm }: OnrampConfirmationModalProps) => { +export const OnrampConfirmationModal = ({ + visible, + onClose, + onConfirm, + amount, + currency, +}: OnrampConfirmationModalProps) => { return ( - In the following step you'll see a
"Deposit Message" item
copy and - paste it exactly as it is on
the description field of your transfer. -
-
- - Without it your deposit will be returned and might take 2-10 working days to process. - - - } footer={
v && onConfirm()} />
} + content={ +
+ +

You MUST:

+ + Send exactly{' '} + + {currency} + {amount} + {' '} + (the exact amount shown) + , + 'Copy the reference code exactly', + 'Paste it in the description/reference field', + ]} + /> + + +
+ } preventClose={false} modalPanelClassName="max-w-md mx-8" /> diff --git a/src/components/AddWithdraw/DynamicBankAccountForm.tsx b/src/components/AddWithdraw/DynamicBankAccountForm.tsx index 2c8cace94..dfceb4791 100644 --- a/src/components/AddWithdraw/DynamicBankAccountForm.tsx +++ b/src/components/AddWithdraw/DynamicBankAccountForm.tsx @@ -18,6 +18,7 @@ import useSavedAccounts from '@/hooks/useSavedAccounts' import { useAppDispatch, useAppSelector } from '@/redux/hooks' import { bankFormActions } from '@/redux/slices/bank-form-slice' import { useDebounce } from '@/hooks/useDebounce' +import { Icon } from '../Global/Icons/Icon' const isIBANCountry = (country: string) => { return BRIDGE_ALPHA3_TO_ALPHA2[country.toUpperCase()] !== undefined @@ -428,6 +429,11 @@ export const DynamicBankAccountForm = forwardRef<{ handleSubmit: () => void }, D })} )} + +
+ +

You can only withdraw to accounts under your name.

+