diff --git a/src/API/v1/post.js b/src/API/v1/post.js
index 1871c158..d9795ba6 100644
--- a/src/API/v1/post.js
+++ b/src/API/v1/post.js
@@ -149,7 +149,7 @@ async function modify({
formData.append('isSecret', isSecret);
formData.append('isTemp', isTemp);
formData.append('password', password);
- formData.append('file', files);
+ files.forEach((file) => formData.append('file', file));
formData.append('thumbnail', thumbnailFile);
const config = {
diff --git a/src/App.jsx b/src/App.jsx
index bb43a3e5..72098aad 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -26,6 +26,7 @@ const SignUp = lazy(() => import('page/SignUp/SignUp'));
const BookAdd = lazy(() => import('./page/Library/BookAdd'));
const BookManage = lazy(() => import('./page/Library/BookManage'));
const Ranking = lazy(() => import('page/Ranking/Ranking'));
+const Study = lazy(() => import('page/Study/Study'));
const App = ({ member, darkMode, signOut }) => {
useEffect(() => {
@@ -60,6 +61,7 @@ const App = ({ member, darkMode, signOut }) => {
파일명 | diff --git a/src/page/Board/Components/TextEditer.jsx b/src/page/Board/Components/TextEditer.jsx index 4a53c8cd..8fd0f4cf 100644 --- a/src/page/Board/Components/TextEditer.jsx +++ b/src/page/Board/Components/TextEditer.jsx @@ -60,9 +60,11 @@ const TextEditer = (props) => { useEffect(() => { if (modifyFlag) { + setText({ title: board.title, content: board.content }); setAllowComment(!!board.allowComment); setIsNotice(!!board.isNotice); setIsSecret(!!board.isSecret); + setUploadAble(true); } }, []);
---|