mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
ditch boostrap and use tailwind instead
This commit is contained in:
@@ -23,6 +23,10 @@ function reducer(state, action) {
|
||||
...state.formData,
|
||||
...action.payload,
|
||||
},
|
||||
formDataChanged: [
|
||||
...state.formDataChanged,
|
||||
...Object.keys(action.payload),
|
||||
],
|
||||
}
|
||||
case ACTIONS.POST_DATA:
|
||||
return {
|
||||
@@ -98,6 +102,7 @@ const initialState = {
|
||||
zip: '',
|
||||
city: '',
|
||||
},
|
||||
formDataChanged: [],
|
||||
}
|
||||
|
||||
async function createBooking(formData) {
|
||||
|
||||
Reference in New Issue
Block a user