fix: 공지사항 관리 반영

main
Lim Jonguk 3 years ago
parent e8225da43f
commit eb3733b24d

@ -19,12 +19,14 @@ import axios from 'axios';
import { FileDownload, FileUpload } from '@mui/icons-material';
import FileSaver from 'file-saver';
import xitCmm from '../../../commons/XitCmm';
import SearchSection from '../../../layout/MainLayout/Header/SearchSection';
const PublicBoardForm = (props) => {
// eslint-disable-next-line react/prop-types
const { inCode, inDept, inTitle, inHit, inName, inNalja, inFilename, inContents, setOpen, handleModalSave } = props;
const alert = useAlert();
const quillRef = useRef();
const [dept, setDept] = useState('');
const [dept, setDept] = useState(inDept);
const [contents, setContents] = useState(inContents);
const [filesInfo, setFilesInfo] = useState(null);
const [selectedFile, setSelectedFile] = useState(inFilename); //

Loading…
Cancel
Save