We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2645a8 + f071906 commit e07bbc1Copy full SHA for e07bbc1
src/domains/recipe/components/main/Cocktails.tsx
@@ -44,13 +44,13 @@ function Cocktails() {
44
: `전체 ${data.length}`;
45
46
// 초기 로드 시 검색어가 있으면 검색 실행
47
- useEffect(() => {
48
- const readyForFirstLoad = !isSearching && hasNextPage && lastId == null && data.length === 0;
+ // useEffect(() => {
+ // const readyForFirstLoad = !isSearching && hasNextPage && lastId == null && data.length === 0;
49
50
- if (readyForFirstLoad) {
51
- fetchData();
52
- }
53
- }, [hasNextPage, lastId]);
+ // if (readyForFirstLoad) {
+ // fetchData();
+ // }
+ // }, [hasNextPage, lastId]);
54
55
// 검색어 변경 시
56
useEffect(() => {
src/shared/assets/images/main_slide.webp
159 KB
0 commit comments