From e77a7958af2d32b20d82e3d03a9cfa0795a3da84 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 19 九月 2024 10:36:35 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/components/ImportButton.jsx | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/zy-acs-flow/src/page/components/ImportButton.jsx b/zy-acs-flow/src/page/components/ImportButton.jsx
index cf21f69..5a2c122 100644
--- a/zy-acs-flow/src/page/components/ImportButton.jsx
+++ b/zy-acs-flow/src/page/components/ImportButton.jsx
@@ -1,9 +1,9 @@
import UploadIcon from '@mui/icons-material/Upload';
import { useState } from 'react';
import { Button } from 'react-admin';
-import { ImportModal } from './ImportModal';
+import ImportModal from './ImportModal';
-export const ImportButton = (props) => {
+const ImportButton = (props) => {
const [modalOpen, setModalOpen] = useState(false);
const handleOpenModal = () => {
@@ -13,7 +13,7 @@
const handleCloseModal = () => {
setModalOpen(false);
};
-
+
return (
<>
<Button
@@ -26,3 +26,5 @@
</>
);
};
+
+export default ImportButton;
\ No newline at end of file
--
Gitblit v1.9.1