diff --git a/frontend/client-portal/src/sections/dashboard/TableList.tsx b/frontend/client-portal/src/sections/dashboard/TableList.tsx index a263765f..0440bd07 100755 --- a/frontend/client-portal/src/sections/dashboard/TableList.tsx +++ b/frontend/client-portal/src/sections/dashboard/TableList.tsx @@ -30,7 +30,7 @@ import { Add as AddIcon } from '@mui/icons-material'; /* ---------------------------------- axios --------------------------------- */ import axios from '../../utils/axios'; /* ---------------------------------- react --------------------------------- */ -import { useContext, useEffect, useRef, useState } from 'react'; +import { useContext, useEffect, useState } from 'react'; /* -------------------------------- component ------------------------------- */ import Iconify from '../../components/Iconify'; import BaseTablePagination from '../../components/BaseTablePagination'; @@ -212,7 +212,6 @@ export default function TableList(props: any) { }; /* -------------------------------------------------------------------------- */ - /* ----------------------------- Field Container ---------------------------- */ /* ----------------------------- division field ----------------------------- */ const [divisionValue, setDivisionValue] = useState('all'); const [divisionData, setDivisionData] = useState([]); @@ -253,28 +252,6 @@ export default function TableList(props: any) { }; /* -------------------------------------------------------------------------- */ - /* ------------------------------ import button ----------------------------- */ - const [currentImportFileName, setCurrentImportFileName] = useState(null); - const importForm = useRef(null); - - const handleImportChange = (event: any) => { - if (event.target.files[0]) { - setCurrentImportFileName(event.target.files[0].name); - } else { - setCurrentImportFileName(null); - } - }; - /* -------------------------------------------------------------------------- */ - - /* ------------------------------ create button ----------------------------- */ - const [anchorEl, setAnchorEl] = useState(null); - const handleClick = (event: React.MouseEvent) => { - setAnchorEl(event.currentTarget); - }; - /* -------------------------------------------------------------------------- */ - /* -------------------------------------------------------------------------- */ - - /* ---------------------------- table pagination ---------------------------- */ /* ------------------------ button change pagination ------------------------ */ const onPageChangeHandle = async ( event: React.MouseEvent | null, @@ -304,7 +281,6 @@ export default function TableList(props: any) { setIsLoading(false); }; /* -------------------------------------------------------------------------- */ - /* -------------------------------------------------------------------------- */ useEffect(() => { (async () => { @@ -355,7 +331,7 @@ export default function TableList(props: any) { - +
- - - - - -
{/* End Field 1 */}