diff --git a/src/components/PurchaseButton.js b/src/components/PurchaseButton.js index 40e0862..73cce79 100644 --- a/src/components/PurchaseButton.js +++ b/src/components/PurchaseButton.js @@ -17,7 +17,7 @@ const links = [ }, ]; -const PurchaseButton = () => { +const PurchaseButton = ({ aligned = 'right', className }) => { const [isOpen, setIsOpen] = useState(false); const dropdownRef = useRef(null); @@ -45,7 +45,7 @@ const PurchaseButton = () => { }, []); return ( -
+
{isOpen && ( -