Skip to content

Commit

Permalink
Merge pull request #70 from seokkkkkk/develop
Browse files Browse the repository at this point in the history
[FIX]: 참여한 챌린저 수 안받아오는 문제 수정
  • Loading branch information
seokkkkkk authored Aug 10, 2024
2 parents 319c071 + af3c81c commit e2a0354
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Challenge/BestChallenger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const BestChallenger = () => {
title="베스트 챌린저"
desc="금주의 베스트 챌린저! 베스트 챌린저는 어떤 챌린지에 참여했을까요?"
/>
{topChallengersData.length > 0 ? (
{topChallengersData.data.length > 0 ? (
<div className="challenger-list">
{topChallengersData.data.map(
(challenger: BestChallengerProps, index: number) => (
Expand Down
2 changes: 1 addition & 1 deletion src/components/ChallengeDetail/Challengers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const Challengers = ({
/>
)}
</div>
{challengerData.length > 0 ? (
{challengerData.data.length > 0 ? (
<div className="challenger-list">
{challengerData.data.map(
(challenger: BestChallengerProps, index: number) => (
Expand Down

0 comments on commit e2a0354

Please sign in to comment.