further hacking

This commit is contained in:
Thomas Ruoff
2020-07-26 00:41:33 +02:00
parent 518b437d14
commit a099d50097
5 changed files with 42 additions and 43 deletions

View File

@@ -1,5 +1,5 @@
import { useContext } from 'react'
import useSWR, { SWRConfig } from 'swr'
import useSWR from 'swr'
import { WizardContext, ACTIONS } from '../context/wizardStore'
@@ -18,14 +18,7 @@ export default function DateSelect() {
fetcher
)
const {
multipleDays,
startDate,
endDate,
focusedInput,
pickupTime,
dropoffTime,
} = state
const { multipleDays, startDate, endDate, focusedInput } = state
function isDayBlocked(momentDay) {
return (