add appStore and use router for booking

This commit is contained in:
Thomas Ruoff
2020-08-19 00:59:45 +02:00
parent 194ac0aca1
commit e1d1de469b
8 changed files with 80 additions and 26 deletions

View File

@@ -4,6 +4,12 @@ import '../styles/index.css'
import 'react-day-picker/lib/style.css'
import AppStore from '../context/appStore'
export default function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
return (
<AppStore>
<Component {...pageProps} />
</AppStore>
)
}