Parcourir la source

[Derek]- comment createStaffForm related import and export

tags/Baseline_30082024_FRONTEND_UAT
MSI\2Fi il y a 1 an
Parent
révision
81d6347125
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +1
    -1
      src/components/CreateStaff/CreateStaff.tsx
  2. +1
    -1
      src/components/CreateStaffForm/index.ts

+ 1
- 1
src/components/CreateStaff/CreateStaff.tsx Voir le fichier

@@ -12,7 +12,7 @@ import {
} from "react-hook-form";
import { CreateStaffInputs, saveStaff, testing } from "@/app/api/staff/actions";
import { Button, Stack, Typography } from "@mui/material";
import CreateStaffForm from "../CreateStaffForm";
// import CreateStaffForm from "../CreateStaffForm";
import { comboProp, fetchCompanyCombo } from "@/app/api/companys/actions";
import { fetchTeamCombo } from "@/app/api/team/actions";
import { fetchDepartmentCombo } from "@/app/api/departments/actions";


+ 1
- 1
src/components/CreateStaffForm/index.ts Voir le fichier

@@ -1 +1 @@
export { default } from "./CreateStaffForm";
// export { default } from "./CreateStaffForm";

Chargement…
Annuler
Enregistrer