Skip to content

Commit

Permalink
Merge pull request #33 from fmanimashaun/bugfix/duplicate-reservation
Browse files Browse the repository at this point in the history
Delete replicated line
  • Loading branch information
tomasesquivelgc authored Feb 28, 2024
2 parents d771dc3 + 9725167 commit 6c43a35
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pages/AddReserve.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6c43a35

Please sign in to comment.