diff --git a/src/pages/ChallengePage.jsx b/src/pages/ChallengePage.jsx index af5a0d7..51afc7e 100644 --- a/src/pages/ChallengePage.jsx +++ b/src/pages/ChallengePage.jsx @@ -17,13 +17,6 @@ const ChallengePage = () => { day: "numeric", }); - // useEffect(() => { - // getChallengeDetail({ challengeId: challengeId }).then((res) => { - // // console.log(res.data) - // setChallengeDetail(res.data); - // }); - // }, [challengeId]); - return ( <>
@@ -53,16 +46,19 @@ const ChallengePage = () => { /> ) : ( - challengeDetail?.map((problem) => ( - - )) + challengeDetail + ?.slice() + .reverse() + .map((problem) => ( + + )) )}