Skip to content

Commit

Permalink
fix: useGetProductByProvider 훅 변경에 따른 MoreProductSection 수정
Browse files Browse the repository at this point in the history
- 0페이지의 프로덕트만 쓰도록 수정
  • Loading branch information
nijuy committed May 21, 2024
1 parent 5c43c2a commit eb1632c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ import {
} from './MoreProductSection.style';

export const MoreProductSection = ({ providerId }: { providerId: string }) => {
const {
data: { providerName, products },
} = useGetProductByProvider({ providerId });
const { data } = useGetProductByProvider({ providerId });
const { providerName, products } = data.pages[0];

const navigate = useNavigate();

Expand Down

0 comments on commit eb1632c

Please sign in to comment.