From 81d63471259906ef03145cae991a2f50deeffaf5 Mon Sep 17 00:00:00 2001 From: "MSI\\2Fi" Date: Tue, 14 May 2024 10:48:47 +0800 Subject: [PATCH] [Derek]- comment createStaffForm related import and export --- src/components/CreateStaff/CreateStaff.tsx | 2 +- src/components/CreateStaffForm/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/CreateStaff/CreateStaff.tsx b/src/components/CreateStaff/CreateStaff.tsx index cc40474..21904d0 100644 --- a/src/components/CreateStaff/CreateStaff.tsx +++ b/src/components/CreateStaff/CreateStaff.tsx @@ -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"; diff --git a/src/components/CreateStaffForm/index.ts b/src/components/CreateStaffForm/index.ts index d0bd13c..9df3ca8 100644 --- a/src/components/CreateStaffForm/index.ts +++ b/src/components/CreateStaffForm/index.ts @@ -1 +1 @@ -export { default } from "./CreateStaffForm"; +// export { default } from "./CreateStaffForm";