This commit is contained in:
parent
ce11450971
commit
deb62af5e8
@ -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<ActionType>();
|
||||
const actionRef = useRef<ActionType>(null);
|
||||
const [modalVisible, setModalVisible] = useState(false);
|
||||
const [importModalVisible, setImportModalVisible] = useState(false);
|
||||
const [selectedBatchId, setSelectedBatchId] = useState<number | null>(null);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user