Fix onCanceled missing

This commit is contained in:
ekzyis 2024-07-05 21:14:58 +02:00
parent 9bbf2056e9
commit 83fd39b035
1 changed files with 1 additions and 1 deletions

View File

@ -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
? {}