Skip to content

Commit 2dbdfba

Browse files
committed
[Refector] edit 돌아가기 버튼 경로 수정
1 parent dee4f2c commit 2dbdfba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/modal/DeleteMemberModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default function DeleteDashboardModal({
3333
onClose={onClose}
3434
width="w-[327px] sm:w-[568px]"
3535
height="h-[160px] sm:h-[174px]"
36-
backgroundClassName="bg-black/15 z-50"
36+
backgroundClassName="bg-black/30 z-50"
3737
>
3838
<div className="flex flex-col sm:gap-10 gap-6 text-center ">
3939
<p className="text-xl mt-1.5">멤버를 삭제하시겠습니까?</p>

src/pages/dashboard/[dashboardId]/edit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function EditDashboard() {
2222

2323
/* 돌아가기 버튼 */
2424
const goToDashboard = () => {
25-
router.push(`/dashboard/${dashboardId}`);
25+
router.back();
2626
};
2727

2828
/* 대시보드 삭제 모달 */

0 commit comments

Comments
 (0)