remove console.logs

This commit is contained in:
Victor Turgeon 2022-12-08 19:42:00 -05:00
parent 185df856cd
commit 10abe82b83

View File

@ -55,7 +55,6 @@ const PaymentForm = ({ cost, invoice }) => {
.then((result) => {
if (!result.error) {
console.log(invoice);
invoice.token = result.token.id;
invoice.description = `Payement de ${cost} à GM`;
invoice.amountInCents = cost;
@ -76,7 +75,6 @@ const PaymentForm = ({ cost, invoice }) => {
},
body: json
}).then((response) => {
console.log(response);
if (response.ok) {
mySwal.fire({
title: 'Commande envoyée avec succès!',