Skip to content

Commit 95f97ea

Browse files
committed
Remove console log
1 parent c7c1544 commit 95f97ea

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/pages/quotes/QuotePage.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -320,22 +320,20 @@ function QuoteActions({
320320
},
321321
throwOnError: true,
322322
})
323-
console.log(data)
324323
return data
325324
},
326325
onMutate: () => {
327-
toast.loading("Requesting to mint…", { id: `quote-${value.id}-request-to-mint` })
326+
toast.loading("Requesting to pay…", { id: `quote-${value.id}-request-to-mint` })
328327
},
329328
onSettled: () => {
330-
toast.dismiss(`quote-${value.id}-request-to-mint`)
329+
toast.dismiss(`quote-${value.id}-request-to-pay`)
331330
},
332331
onError: (error) => {
333-
toast.error("Error while requesting to mint: " + error.message)
332+
toast.error("Error while requesting to pay")
334333
console.warn(error)
335334
},
336335
onSuccess: (data) => {
337336
toast.success("Payment request has been created.")
338-
console.log(data)
339337
setMintRequestResponse(data)
340338
},
341339
})

0 commit comments

Comments
 (0)