diff --git a/packages/frontend/app/components/LiquidityConfirmDialog.tsx b/packages/frontend/app/components/LiquidityConfirmDialog.tsx index 5719bdb4e4..4020a41436 100644 --- a/packages/frontend/app/components/LiquidityConfirmDialog.tsx +++ b/packages/frontend/app/components/LiquidityConfirmDialog.tsx @@ -6,13 +6,17 @@ type LiquidityConfirmDialogProps = { onClose: () => void type: 'Deposit' | 'Withdraw' displayAmount: string + amount?: string + onBack?: () => void } export const LiquidityConfirmDialog = ({ title, onClose, type, - displayAmount + displayAmount, + amount, + onBack }: LiquidityConfirmDialogProps) => { return ( !open && onClose()}> @@ -28,7 +32,21 @@ export const LiquidityConfirmDialog = ({
+ {amount !== undefined && ( + + )} + {onBack && ( + + )} - - - -
+ + +