From 9725167bc63455a9cc632bf262a6dc0b40121bff Mon Sep 17 00:00:00 2001 From: Tomas Esquivel Date: Wed, 28 Feb 2024 12:49:49 -0300 Subject: [PATCH] Delete replicated line --- src/pages/AddReserve.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/AddReserve.jsx b/src/pages/AddReserve.jsx index 24e5049..2d17a0f 100644 --- a/src/pages/AddReserve.jsx +++ b/src/pages/AddReserve.jsx @@ -31,7 +31,6 @@ const Reserve = () => { const options = { data, token: user.token }; const actionResult = await dispatch(addReservation(options)); - dispatch(addReservation(options)); if (!addReservation.fulfilled.match(actionResult)) { setShowError(true);