Skip to content

Commit 77ea5ec

Browse files
hotfix: 내 학습로그 페이지에서 학습로그 삭제 시 인자를 객체 형태로 수정 (#734)
Co-authored-by: devhyun637 <59258239+devhyun637@users.noreply.github.com>
1 parent 125a4bd commit 77ea5ec

File tree

1 file changed

+1
-1
lines changed
  • frontend/src/pages/ProfilePageStudylogs

1 file changed

+1
-1
lines changed

frontend/src/pages/ProfilePageStudylogs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const ProfilePageStudylogs = () => {
8989

9090
if (!window.confirm(CONFIRM_MESSAGE.DELETE_STUDYLOG)) return;
9191

92-
await deletePost(id, accessToken);
92+
await deletePost({ id, accessToken });
9393

9494
if (postError) {
9595
alert(ALERT_MESSAGE.FAIL_TO_DELETE_STUDYLOG);

0 commit comments

Comments
 (0)