diff --git a/web-marketplace/src/components/organisms/BuyFiatModal/BuyFiatModal.tsx b/web-marketplace/src/components/organisms/BuyFiatModal/BuyFiatModal.tsx index b20b9c594c..987bf8162f 100644 --- a/web-marketplace/src/components/organisms/BuyFiatModal/BuyFiatModal.tsx +++ b/web-marketplace/src/components/organisms/BuyFiatModal/BuyFiatModal.tsx @@ -18,13 +18,12 @@ interface BuyFiatModalProps extends BuyFiatModalContent { } export const BuyFiatModal = ({ - title, - content, - buttons, + modalContent, fiatModalState, onClose, handleClick, }: BuyFiatModalProps) => { + const { title, content, buttons } = modalContent; return ( {fiatModalContent.current && ( {