Skip to content

Commit 0ea8b3e

Browse files
committed
[chore]merge전 변경사항 커밋
1 parent 159a925 commit 0ea8b3e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/domains/recipe/components/main/CocktailList.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import Link from 'next/link';
55
import { useIntersectionObserver } from '@/domains/shared/hook/useIntersectionObserver';
66
import { Cocktail } from '../../types/types';
77
import CocktailCard from '@/domains/shared/components/cocktail-card/CocktailCard';
8-
import { usePathname, useRouter, useSearchParams } from 'next/navigation';
98

109
interface Props {
1110
cocktails: Cocktail[];
@@ -16,9 +15,7 @@ interface Props {
1615
}
1716

1817
function CocktailList({ cocktails, RecipeFetch, hasNextPage, lastId, onItemClick }: Props) {
19-
const router = useRouter()
20-
const pathname = usePathname();
21-
const searchParams = useSearchParams();
18+
2219
const cocktailRef = useRef(null);
2320
const onIntersect: IntersectionObserverCallback = ([entry]) => {
2421
if (!RecipeFetch) return;

0 commit comments

Comments
 (0)