move general componets out from wizard

This commit is contained in:
Thomas Ruoff
2020-10-07 23:11:07 +02:00
parent db37b76a6e
commit f78b8ea772
7 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
import React, { useContext } from 'react'
import { WizardContext } from './context/wizardStore'
import Input from './input'
import Input from '../input'
export default function Contact() {
const { state, onChangeEvent } = useContext(WizardContext)

View File

@@ -1,6 +1,6 @@
import React, { useContext } from 'react'
import { WizardContext } from './context/wizardStore'
import InputWrapper from './inputWrapper'
import InputWrapper from '../inputWrapper'
export default function DateSelect() {
const { onChangeEvent, state } = useContext(WizardContext)

View File

@@ -1,6 +1,6 @@
import React, { useContext } from 'react'
import { WizardContext } from './context/wizardStore'
import Input from './input'
import Input from '../input'
export default function Contact() {
const { state, onChangeEvent } = useContext(WizardContext)

View File

@@ -2,7 +2,7 @@ import { GetServerSideProps } from 'next'
import React, { useEffect, useState } from 'react'
import Footer from '../../../components/footer'
import Header from '../../../components/header'
import Input from '../../../components/wizard/input'
import Input from '../../../components/input'
import { AdditionalCosts, BillDocument } from '../../../db/bill'
import { BookingDocument } from '../../../db/booking'
import {