diff --git a/apps/client/app/(afterLogin)/study-apply/@modal/(.)study-application/[studyId]/page.tsx b/apps/client/app/(afterLogin)/study-apply/@modal/(.)study-application/[studyId]/page.tsx index 42cb0100..e5dfb810 100644 --- a/apps/client/app/(afterLogin)/study-apply/@modal/(.)study-application/[studyId]/page.tsx +++ b/apps/client/app/(afterLogin)/study-apply/@modal/(.)study-application/[studyId]/page.tsx @@ -49,8 +49,8 @@ const StudyApplication = ({ params }: { params: { studyId: number } }) => { const handleClickApplyButton = async () => { const result = await studyApplyApi.applyStudy(Number(studyId)); if (result.success) { - revalidateTagByName(tags.studyApply); - revalidateTagByName(tags.myOngoingStudy); + await revalidateTagByName(tags.studyApply); + await revalidateTagByName(tags.myOngoingStudy); setApplySuccess(true); } }; diff --git a/apps/client/app/(afterLogin)/study-apply/@modal/(.)study-cancellation/[studyId]/page.tsx b/apps/client/app/(afterLogin)/study-apply/@modal/(.)study-cancellation/[studyId]/page.tsx index 68ff33bb..127dd3da 100644 --- a/apps/client/app/(afterLogin)/study-apply/@modal/(.)study-cancellation/[studyId]/page.tsx +++ b/apps/client/app/(afterLogin)/study-apply/@modal/(.)study-cancellation/[studyId]/page.tsx @@ -50,8 +50,8 @@ const StudyCancel = ({ params }: { params: { studyId: number } }) => { const result = await studyApplyApi.cancelStudyApplication(Number(studyId)); if (result.success) { - revalidateTagByName(tags.studyApply); - revalidateTagByName(tags.myOngoingStudy); + await revalidateTagByName(tags.studyApply); + await revalidateTagByName(tags.myOngoingStudy); setCancelSuccess(true); } };