Skip to content

Commit

Permalink
hotfix: 셀럽잇 추천 맛집 슬라이드 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
shackstack committed Dec 29, 2023
1 parent 85198ac commit a5fdeb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import MiniRestaurantCardSkeleton from '~/components/MiniRestaurantCard/MiniRest
import useMediaQuery from '~/hooks/useMediaQuery';
import { RestaurantCardCarouselSettings } from '~/constants/carouselSettings';
import CeluveatRecommendedRestaurantSlider from './components/CeluveatRecommendedRestaurantSlider';
import CeluveatRecommendedRestaurants from './components/CeluveatRecommendedRestaurants';

function CeluveatRecommendSection() {
const { isMobile } = useMediaQuery();
Expand All @@ -23,7 +24,7 @@ function CeluveatRecommendSection() {
</>
}
>
<CeluveatRecommendedRestaurantSlider />
<CeluveatRecommendedRestaurants />
</Suspense>
)}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { hideScrollBar } from '~/styles/common';

import type { RestaurantData } from '~/@types/api.types';

function CeluveatRecommendedRestaurantSlider() {
function CeluveatRecommendedRestaurants() {
const { data: recommendedRestaurantData } = useQuery<RestaurantData[]>({
queryKey: ['recommendedRestaurants'],
queryFn: getRecommendedRestaurants,
Expand All @@ -23,7 +23,7 @@ function CeluveatRecommendedRestaurantSlider() {
);
}

export default CeluveatRecommendedRestaurantSlider;
export default CeluveatRecommendedRestaurants;

const StyledPopularRestaurantBox = styled.div`
display: flex;
Expand Down

0 comments on commit a5fdeb6

Please sign in to comment.