mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
address breaking changes
This commit is contained in:
committed by
Thomas Ruoff
parent
8222e04880
commit
ef7f80fd92
@@ -5,7 +5,7 @@ import { clearBookingData, loadBookingData } from '../helpers/storage'
|
||||
import { createBooking } from '../helpers/booking'
|
||||
import { Booking } from '../db/booking'
|
||||
|
||||
export type BookFormData = Omit<Booking, 'uuid' | 'calendarEventId'>
|
||||
export type BookFormData = Omit<Booking, 'uuid' | 'calendarEventId' | 'start' | 'end'>
|
||||
|
||||
type BookingProviderState = {
|
||||
postData?: boolean
|
||||
@@ -103,8 +103,8 @@ const initialState: BookingProviderState = {
|
||||
postDataError: null,
|
||||
postDataSuccess: null,
|
||||
formData: {
|
||||
startDate: '',
|
||||
endDate: '',
|
||||
startDate: null,
|
||||
endDate: null,
|
||||
purpose: '',
|
||||
org: '',
|
||||
destination: '',
|
||||
|
||||
Reference in New Issue
Block a user