diff --git a/apps/tax/pages/_app.tsx b/apps/tax/pages/_app.tsx index 2e4364ef..4f7cc86d 100644 --- a/apps/tax/pages/_app.tsx +++ b/apps/tax/pages/_app.tsx @@ -1,13 +1,12 @@ import React, { FC } from 'react' - -import { fontStyles } from '../styles/font.css'; - import Head from 'next/head' import { useRouter } from 'next/router' import { Header } from '@island.is/tax/components' import {PRELOADED_FONTS} from "@island.is/tax/constants"; +import { fontStyles } from '../styles/font.css'; + const Layout: FC> = ({ children }) => { const router = useRouter() diff --git a/apps/tax/pages/tax/index.tsx b/apps/tax/pages/tax/index.tsx index 513d3f27..183c3ffd 100644 --- a/apps/tax/pages/tax/index.tsx +++ b/apps/tax/pages/tax/index.tsx @@ -14,21 +14,7 @@ const steps = [ { title: 'Staưfesting', index: 6 }, ] -export async function getServerSideProps() { - const taxData = { - country: 'test', - vatRate: 10, - description: 'test', - } - - return { - props: { - taxInfo: taxData, - }, - } -} - -const Tax = ({ taxInfo }) => { +const Tax = () => { const [currentStep, setCurrentStep] = useState(0) const renderStep = (step: number) => {