diff --git a/src/pages/wallet/Items.tsx b/src/pages/wallet/Items.tsx index f423029..e9b6bff 100644 --- a/src/pages/wallet/Items.tsx +++ b/src/pages/wallet/Items.tsx @@ -121,6 +121,9 @@ export function Items() { >
Price in sats
setItemPrice(e.target.value)} diff --git a/src/pages/wallet/Pay.tsx b/src/pages/wallet/Pay.tsx index edf8fd2..6f8befd 100644 --- a/src/pages/wallet/Pay.tsx +++ b/src/pages/wallet/Pay.tsx @@ -8,6 +8,7 @@ import { useProfilePubkey } from "../../hooks/useProfilePubkey"; import useStore from "../../state/store"; export function Pay() { + const { clearCart } = useStore(); const { invoice } = useParams(); const navigate = useNavigate(); const { cart, provider } = useStore(); @@ -69,6 +70,15 @@ export function Pay() { Waiting for payment... + > );