maintenance
This commit is contained in:
1 parent
e55ae64222
commit
24cbcec2c9
10 files changed
+40
-51
No files matched your search
@@ -12,13 +12,13 @@ import { zodResolver } from "@hookform/resolvers/zod";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { z } from "zod";
|
||||
import { MaintenanceRepeats } from "@/types/maintenance";
|
||||
import { maintenanceSchema } from "@/validation/zod";
|
||||
import { maintenanceSchema } from "@/validation";
|
||||
import { useForm, Controller, type SubmitHandler } from "react-hook-form";
|
||||
import { useEffect } from "react";
|
||||
import { useInitForm } from "@/hooks/forms/UseInitMaintenanceForm";
|
||||
import type { IMonitor } from "@/types/monitor";
|
||||
|
||||
type FormValues = z.infer<typeof maintenanceSchema>;
|
||||
export type FormValues = z.infer<typeof maintenanceSchema>;
|
||||
|
||||
export const MaintenanceForm = ({
|
||||
monitorOptions,
|
||||
|
||||
Reference in new issue
Block a user