import React, {useState} from 'react' import Router from 'next/router' import ActionBar from '~/components/admin/actionBar' import {FormController, DateInput, Input, Button} from '~/components/form' EnterTracking.getInitialProps = async ({ctx: {query: {id}}}) => { return {uuid: id} } export default function EnterTracking({uuid}){ return ( <> Router.push(`/admin/orders/${uuid}`)} url={`/api/orders/${uuid}/ship/tracking`}> Use this to enter tracking information for packages shipped by-hand (via USPS) val.length > 0} type="text" name="code" hint="Please enter the USPS Tracking code" /> Submit > ) }
Use this to enter tracking information for packages shipped by-hand (via USPS)