From 57a68e1ca641daf331294d88b027630aa7edecf8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?LAFOR=C3=8AT=20Nicolas?= <nlaforet@etu.unistra.fr>
Date: Fri, 17 Dec 2021 14:47:34 +0100
Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=85=20catch=20students=20and=20money?=
 =?UTF-8?q?=20errors?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/components/sell/cart.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/components/sell/cart.tsx b/src/components/sell/cart.tsx
index 94189ec..1e482ce 100644
--- a/src/components/sell/cart.tsx
+++ b/src/components/sell/cart.tsx
@@ -28,7 +28,7 @@ const Cart = () => {
     if (!successTransaction) {
       console.error("Error during transaction with Money.");
       setCartError("Error during transaction with payement server.");
-      return;
+      // return;
     }
 
     // Set adhesion in Student
@@ -38,6 +38,7 @@ const Cart = () => {
       if (!adhesionSuccess) {
         console.error("Error during adhesion with Student.");
         setCartError("Error during adhesion with student database.");
+        // return;
       }
     }
 
-- 
GitLab