삭제 후 되돌아가기할떄 삭제 적용안되는거 수정
This commit is contained in:
parent
f5fdfcf22e
commit
038570527b
@ -13,7 +13,7 @@ export default function FreeboardDetailPage() {
|
||||
|
||||
const handleDelete = async () => {
|
||||
await freeboardDelete(freeboardId);
|
||||
navigate('..');
|
||||
navigate('..', { replace: true });
|
||||
};
|
||||
|
||||
return (
|
||||
|
@ -13,7 +13,7 @@ export default function NoticeDetailPage() {
|
||||
|
||||
const handleDelete = async () => {
|
||||
await noticeDelete(noticeId);
|
||||
navigate('..');
|
||||
navigate('..', { replace: true });
|
||||
};
|
||||
|
||||
return (
|
||||
|
@ -13,7 +13,7 @@ export default function QuestionDetailPage() {
|
||||
|
||||
const handleDelete = async () => {
|
||||
await qnaDelete(qnaId);
|
||||
navigate('..');
|
||||
navigate('..', { replace: true });
|
||||
};
|
||||
|
||||
return (
|
||||
|
@ -15,7 +15,7 @@ export default function QuizsetDetailPage() {
|
||||
};
|
||||
const handleDelete = async () => {
|
||||
await quizsetDelete(quizsetId);
|
||||
navigate('..');
|
||||
navigate('..', { replace: true });
|
||||
};
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user