File tree Expand file tree Collapse file tree
components/main/AddOption Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { Rajdhani } from 'next/font/google';
55import localFont from 'next/font/local' ;
66
77import LoadingSpinner from '@/components/common/loading/LoadingSpinner' ;
8+ import Gnb from '@/layout/navigation/Gnb' ;
89
910import ReactQueryProviders from '../provider/ReactQueryProviders' ;
1011
@@ -13,7 +14,6 @@ import 'react-toastify/dist/ReactToastify.css';
1314import '../styles/global.css' ;
1415import '../styles/icons.css' ;
1516import '../styles/swiper.css' ;
16- import Gnb from '@/layout/navigation/Gnb' ;
1717
1818const pretendard = localFont ( {
1919 src : '../fonts/PretendardVariable.woff2' ,
Original file line number Diff line number Diff line change 1- import ModalWrapper from '@/layout/wrapper/ModalWrapper' ;
2- import Link from 'next/link' ;
31import { useEffect , useState } from 'react' ;
2+ import Link from 'next/link' ;
3+
4+ import ModalWrapper from '@/layout/wrapper/ModalWrapper' ;
45
56interface AddOptionProps {
67 addOptionOpen : boolean ;
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ import Link from 'next/link';
66
77import { useGetWish } from '@/hook/useWish' ;
88import HeaderModal from '@/layout/header/HeaderModal' ;
9- import { WishListItemProps } from '@/types/wish.type' ;
109import ModalWrapper from '@/layout/wrapper/ModalWrapper' ;
10+ import { WishListItemProps } from '@/types/wish.type' ;
1111
1212interface WishListProps {
1313 wishListOpen : boolean ;
@@ -24,6 +24,7 @@ const WishList = ({
2424 const [ activeTab , setActiveTab ] = useState ( 'All' ) ;
2525
2626 const { data } = useGetWish ( ) ;
27+
2728 useEffect ( ( ) => {
2829 if ( wishListOpen ) {
2930 setIsVisible ( true ) ;
You can’t perform that action at this time.
0 commit comments