diff --git a/packages/admin-next/dashboard/src/components/common/form/form.tsx b/packages/admin-next/dashboard/src/components/common/form/form.tsx index 4f55b9e901..9799136d8f 100644 --- a/packages/admin-next/dashboard/src/components/common/form/form.tsx +++ b/packages/admin-next/dashboard/src/components/common/form/form.tsx @@ -8,7 +8,13 @@ import { } from "@medusajs/ui" import * as LabelPrimitives from "@radix-ui/react-label" import { Slot } from "@radix-ui/react-slot" -import { ReactNode, createContext, forwardRef, useContext, useId } from "react" +import React, { + ReactNode, + createContext, + forwardRef, + useContext, + useId, +} from "react" import { Controller, ControllerProps, @@ -24,7 +30,7 @@ const Provider = FormProvider type FormFieldContextValue< TFieldValues extends FieldValues = FieldValues, - TName extends FieldPath = FieldPath, + TName extends FieldPath = FieldPath > = { name: TName } @@ -35,7 +41,7 @@ const FormFieldContext = createContext( const Field = < TFieldValues extends FieldValues = FieldValues, - TName extends FieldPath = FieldPath, + TName extends FieldPath = FieldPath >({ ...props }: ControllerProps) => { diff --git a/packages/admin-next/dashboard/src/i18n/translations/en.json b/packages/admin-next/dashboard/src/i18n/translations/en.json index 89e8b9b26c..48db4d8d42 100644 --- a/packages/admin-next/dashboard/src/i18n/translations/en.json +++ b/packages/admin-next/dashboard/src/i18n/translations/en.json @@ -81,7 +81,8 @@ "download": "Download", "clearAll": "Clear all", "apply": "Apply", - "add": "Add" + "add": "Add", + "select": "Select" }, "filters": { "date": { diff --git a/packages/admin-next/dashboard/src/v2-routes/shipping/location-details/components/location-general-section/location-general-section.tsx b/packages/admin-next/dashboard/src/v2-routes/shipping/location-details/components/location-general-section/location-general-section.tsx index 1d1827a234..cf9a0223ca 100644 --- a/packages/admin-next/dashboard/src/v2-routes/shipping/location-details/components/location-general-section/location-general-section.tsx +++ b/packages/admin-next/dashboard/src/v2-routes/shipping/location-details/components/location-general-section/location-general-section.tsx @@ -331,14 +331,14 @@ function ServiceZone({ zone, locationId, fulfillmentSetId }: ServiceZoneProps) { return (
- {/*ICON*/} + {/* ICON*/}
- {/*INFO*/} + {/* INFO*/}
{zone.name}
@@ -364,7 +364,7 @@ function ServiceZone({ zone, locationId, fulfillmentSetId }: ServiceZoneProps) {
- {/*ACTION*/} + {/* ACTION*/}