diff --git a/components/invoice.js b/components/invoice.js index 2ca71b13..a0438450 100644 --- a/components/invoice.js +++ b/components/invoice.js @@ -14,7 +14,7 @@ import Item from './item' import { CommentFlat } from './comment' import classNames from 'classnames' -export default function Invoice ({ id, query = INVOICE, modal, onPayment, info, successVerb, useWallet = true, walletError, poll, waitFor, ...props }) { +export default function Invoice ({ id, query = INVOICE, modal, onPayment, onCanceled, info, successVerb, useWallet = true, walletError, poll, waitFor, ...props }) { const [expired, setExpired] = useState(false) const { data, error } = useQuery(query, SSR ? {}