Skip to content

Commit e5fe975

Browse files
committed
[feat] 마이페이지 푸시 오류 수정
1 parent a789f65 commit e5fe975

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/domains/mypage/main/MyNav.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
'use client';
22
import TabMenu from '@/domains/mypage/main/TabMenu';
3-
import TextButton from '@/shared/components/button/TextButton';
43
import Link from 'next/link';
5-
import { useState } from 'react';
6-
import DeleteAllModal from '../components/DeleteAllModal';
74
import { usePathname } from 'next/navigation';
85

96
const MAIN_TABMENU = [
@@ -49,13 +46,11 @@ function MyNav() {
4946
const subIndex = SUB_TABMENU.findIndex((opt) => pathname.startsWith(opt.href));
5047
const isSubActive = subIndex === -1 ? 0 : subIndex;
5148

52-
const [isDeleteAll, setIsDeleteAll] = useState(false);
49+
5350

5451
return (
5552
<section aria-labelledby="mypage-tabs" className=" mt-6 md:mt-1 flex flex-col gap-3">
56-
{isDeleteAll && (
57-
<DeleteAllModal open={isDeleteAll} onClose={() => setIsDeleteAll(!isDeleteAll)} />
58-
)}
53+
5954
<h2 id="mypage-tabs" className="sr-only">
6055
마이페이지 탭 메뉴
6156
</h2>

0 commit comments

Comments
 (0)