diff --git a/apps/edr-freight-web/portal/src/pages/bookings/new-booking-form/step4-route.tsx b/apps/edr-freight-web/portal/src/pages/bookings/new-booking-form/step4-route.tsx index a62dadc7e..bee0c81ce 100644 --- a/apps/edr-freight-web/portal/src/pages/bookings/new-booking-form/step4-route.tsx +++ b/apps/edr-freight-web/portal/src/pages/bookings/new-booking-form/step4-route.tsx @@ -30,7 +30,6 @@ import { getRouteDirection, } from "./schema"; import { SelectField, StepCard, StepHeader, StepLabel } from "./shared"; -import { LocationPicker } from "./LocationPicker"; type BookingForm = UseFormReturn< BookingFormInputValues, @@ -50,13 +49,6 @@ export function Step4Route({ const originYard = form.watch("originYard"); const destinationYard = form.watch("destinationYard"); const isGeneralContract = form.watch("bookingType") === "general_contract"; - const serviceTypeId = form.watch("serviceTypeId"); - const firstMileEnabled = form.watch("firstMile.enabled"); - const lastMileEnabled = form.watch("lastMile.enabled"); - - const serviceType = referenceData?.service.find((s) => s.id === serviceTypeId); - const showFirstMile = Boolean(serviceType?.includesFirstMile && firstMileEnabled); - const showLastMile = Boolean(serviceType?.includesLastMile && lastMileEnabled); const { fields: extraRoutes,