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: {axios, query: {id}}}) => { const {data: order} = await axios.get(`/api/orders/${id}`) return {order} } export default function EnterTracking({order}){ return ( <> Router.push(`/admin/orders/${order.uuid}`)} url={`/api/orders/${order.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" />
) }