diff --git a/src/App.tsx b/src/App.tsx index 4ef75865..561471c1 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -28,7 +28,7 @@ const queryClient = new QueryClient({ }); function App() { - /* 총학 홈페이지 접근 시 ssuketch로 리다이렉트 되도록 임시 설정 */ + /* 총학 홈페이지 접근 시 ssuketch로 리다이렉트 되도록 임시 설정. */ useEffect(() => { if (window.location.pathname !== '/beta') { if (window.location.pathname === '/auth/callback') { diff --git a/src/pages/petition-notice/edit/containers/PetitionNoticeEditorSection.tsx b/src/pages/petition-notice/edit/containers/PetitionNoticeEditorSection.tsx index 1f71b36a..c4b51a1c 100644 --- a/src/pages/petition-notice/edit/containers/PetitionNoticeEditorSection.tsx +++ b/src/pages/petition-notice/edit/containers/PetitionNoticeEditorSection.tsx @@ -103,7 +103,7 @@ export function PetitionNoticeEditorSection() { if (title) { const check = window.confirm('청원 글을 등록하시겠습니까?'); if (check) { - console.log(posts); + // console.log(posts); await postPostMutation.mutateAsync(posts); navigate('/petition-notice'); } else { @@ -126,6 +126,7 @@ export function PetitionNoticeEditorSection() { categoryCode: initialCategoryName, thumbnailImage: null, postFileList: postFileList, + isNotice: false, }, }; try {