Skip to content

Commit

Permalink
fix(ui): Booking page
Browse files Browse the repository at this point in the history
- fix import of `IntervalSet`
  • Loading branch information
cgawron committed Sep 24, 2024
1 parent c47a2b2 commit 2c50749
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions client/src/helpers/services/event_services.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import axios from "axios";
import { Event } from "common";
import type { IntervalSet } from "common";
import { Event, IntervalSet } from "common";

export async function saveUserEvent(
token: string,
Expand Down
1 change: 1 addition & 0 deletions client/src/pages/Booking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ const Booking = (props: any) => {
const steps = ["Choose date", "Choose time", "Provide details"].map((label) => t(label));

const checkDay = (date: Date) => {
console.log("checkDay: %o %o", slots, event.available);
if (!event.available) {
return false;
} else {
Expand Down

0 comments on commit 2c50749

Please sign in to comment.