Skip to content

Commit

Permalink
hide past event
Browse files Browse the repository at this point in the history
  • Loading branch information
rlho committed Nov 3, 2023
1 parent d496115 commit da967e8
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ export const Bookings = () => {
}, [bookings]);

useEffect(() => {
console.log(
bookingStatuses,
'bookingStatusesbookingStatusesbookingStatusesbookingStatuses'
);
console.log(bookingStatuses, 'bookingStatus');
const mappings = bookingStatuses
.map((bookingStatus, index) => {
console.log(bookingStatus, 'bookingStatus');
Expand All @@ -74,7 +71,7 @@ export const Bookings = () => {
}, [bookingStatuses]);

const fetchBookings = async () => {
serverFunctions.fetchRows(BOOKING_SHEET_NAME).then((rows) => {
serverFunctions.getFutureDates(BOOKING_SHEET_NAME).then((rows) => {
console.log('booking rows', rows);
setBookings(rows);
});
Expand Down

0 comments on commit da967e8

Please sign in to comment.