diff --git a/src/pages/Batch/index.tsx b/src/pages/Batch/index.tsx index 10b1bae..10095f3 100644 --- a/src/pages/Batch/index.tsx +++ b/src/pages/Batch/index.tsx @@ -10,7 +10,6 @@ import { DatePicker, Select, Space, - Tag, Upload, Progress, } from 'antd'; @@ -23,7 +22,6 @@ import { } from '@ant-design/icons'; import { ProTable } from '@ant-design/pro-components'; import type { ProColumns, ActionType } from '@ant-design/pro-components'; -import dayjs from 'dayjs'; import { getBatches, createBatch, @@ -36,7 +34,7 @@ import type { DeviceType } from '../../api/deviceType'; const BatchPage: React.FC = () => { const navigate = useNavigate(); - const actionRef = useRef(); + const actionRef = useRef(null); const [modalVisible, setModalVisible] = useState(false); const [importModalVisible, setImportModalVisible] = useState(false); const [selectedBatchId, setSelectedBatchId] = useState(null);