From f78b8ea7723ec2c0265c64b8eec9f82eb451efc4 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Wed, 7 Oct 2020 23:11:07 +0200 Subject: [PATCH] move general componets out from wizard --- components/{wizard => }/input.tsx | 0 components/{wizard => }/inputWrapper.tsx | 0 components/{wizard => }/required.tsx | 0 components/wizard/contact.tsx | 2 +- components/wizard/dateSelect.tsx | 2 +- components/wizard/reason.tsx | 2 +- pages/booking/[uuid]/bill.tsx | 2 +- 7 files changed, 4 insertions(+), 4 deletions(-) rename components/{wizard => }/input.tsx (100%) rename components/{wizard => }/inputWrapper.tsx (100%) rename components/{wizard => }/required.tsx (100%) diff --git a/components/wizard/input.tsx b/components/input.tsx similarity index 100% rename from components/wizard/input.tsx rename to components/input.tsx diff --git a/components/wizard/inputWrapper.tsx b/components/inputWrapper.tsx similarity index 100% rename from components/wizard/inputWrapper.tsx rename to components/inputWrapper.tsx diff --git a/components/wizard/required.tsx b/components/required.tsx similarity index 100% rename from components/wizard/required.tsx rename to components/required.tsx diff --git a/components/wizard/contact.tsx b/components/wizard/contact.tsx index aa55507..30724d5 100644 --- a/components/wizard/contact.tsx +++ b/components/wizard/contact.tsx @@ -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) diff --git a/components/wizard/dateSelect.tsx b/components/wizard/dateSelect.tsx index 166c22e..f7016be 100644 --- a/components/wizard/dateSelect.tsx +++ b/components/wizard/dateSelect.tsx @@ -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) diff --git a/components/wizard/reason.tsx b/components/wizard/reason.tsx index 51d12d6..983d2d3 100644 --- a/components/wizard/reason.tsx +++ b/components/wizard/reason.tsx @@ -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) diff --git a/pages/booking/[uuid]/bill.tsx b/pages/booking/[uuid]/bill.tsx index 6bc0279..e8271a3 100644 --- a/pages/booking/[uuid]/bill.tsx +++ b/pages/booking/[uuid]/bill.tsx @@ -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 {