Skip to content

Commit

Permalink
unwanted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Feb 25, 2025
1 parent 00e1dd6 commit ae84991
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pages/Facility/settings/locations/LocationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ import {
BatchSubmissionResult,
} from "@/types/questionnaire/batch";

interface Props {
facilityId: string;
onSuccess?: () => void;
locationId?: string;
parentId?: string;
}
const formSchema = z.object({
name: z.string().min(1, { message: t("field_required") }),
description: z.string().optional(),
Expand All @@ -63,6 +57,12 @@ const formSchema = z.object({
});

type FormValues = z.infer<typeof formSchema>;
interface Props {
facilityId: string;
onSuccess?: () => void;
locationId?: string;
parentId?: string;
}

const defaultValues: FormValues = {
name: "",
Expand Down

0 comments on commit ae84991

Please sign in to comment.