File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 11'use client' ;
22import TabMenu from '@/domains/mypage/main/TabMenu' ;
3- import TextButton from '@/shared/components/button/TextButton' ;
43import Link from 'next/link' ;
5- import { useState } from 'react' ;
6- import DeleteAllModal from '../components/DeleteAllModal' ;
74import { usePathname } from 'next/navigation' ;
85
96const 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 >
You can’t perform that action at this time.
0 commit comments