diff --git a/src/pages/DutyTable.tsx b/src/pages/duty/DutyTable.tsx similarity index 91% rename from src/pages/DutyTable.tsx rename to src/pages/duty/DutyTable.tsx index 1a54713..6f32600 100644 --- a/src/pages/DutyTable.tsx +++ b/src/pages/duty/DutyTable.tsx @@ -1,7 +1,7 @@ import { Button, Upload } from 'antd'; import { UploadOutlined } from '@ant-design/icons'; import { FC } from 'react'; -import { readExcelFile } from '../utils/excel'; +import { readExcelFile } from '../../utils/excel'; const DutyTablePage: FC = () => { return ( diff --git a/src/router.tsx b/src/router.tsx index 711aea2..8c0f46b 100644 --- a/src/router.tsx +++ b/src/router.tsx @@ -1,6 +1,6 @@ import { Routes, Route } from 'react-router-dom'; import Todo from './components/Todo'; -import DutyTablePage from './pages/DutyTable'; +import DutyTablePage from './pages/duty/DutyTable'; export const routes = { main: '/',