Skip to content

Commit dc89698

Browse files
committed
Feat: change BookingForm props from strings to dates
1 parent 5f3e403 commit dc89698

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/src/components/pages/cabins/Admin/BookingSemesterPicker/BookingSemesterForm.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ import * as yup from "@/lib/validation";
77
export type BookingForm = {
88
fall: {
99
active: boolean;
10-
start: string;
11-
end: string;
10+
start: Date;
11+
end: Date;
1212
};
1313
spring: {
1414
active: boolean;
15-
start: string;
16-
end: string;
15+
start: Date;
16+
end: Date;
1717
};
1818
};
1919

0 commit comments

Comments
 (0)