import {FormController, Input, Button} from '~/components/form' import Router from 'next/router' InputAddress.getInitialProps = async function({ctx: {axios}}){ const {data: {address}} = await axios.get(`/api/orders/current`) return {address} } export default function InputAddress({address}){ const afterSave = () => { Router.push('/store/checkout') } return ( <>

Enter Address

value.length > 0}/> value.length > 0}/> value.length > 0}/> value.length > 0}/> value.length > 0}/> ) }