Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Sicat committed Jan 3, 2024
1 parent 25bb246 commit 1f4b311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/app/components/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const BasicModal: React.FC<BasicModalProps> = ({
const durationInHours = moment
.duration(endMoment.diff(startMoment))
.asHours();
const tableFee = Math.ceil(durationInHours) * baseTableFee;
const tableFee = Math.ceil(durationInHours) * baseTableFee; // "cash"

const apiData = {
seat: chairId,
Expand Down Expand Up @@ -184,7 +184,7 @@ const BasicModal: React.FC<BasicModalProps> = ({
localStorage.setItem("reservation_id", responseData.reservation_id)
}
console.log(responseData.reservation_id)

console.log(localStorage.getItem("reservation_id"))


const reservationID = responseData.reservation_id;
Expand Down

0 comments on commit 1f4b311

Please sign in to comment.