diff --git a/admin/src/pages/LotteryParticipantList/index.tsx b/admin/src/pages/LotteryParticipantList/index.tsx index 722d5581..8daf293f 100644 --- a/admin/src/pages/LotteryParticipantList/index.tsx +++ b/admin/src/pages/LotteryParticipantList/index.tsx @@ -53,8 +53,8 @@ export default function LotteryParticipantList() { refetchParticipantInfo(); }; - const handleLottery = () => { - navigate("/lottery/winner"); + const handleLotteryWinner = () => { + navigate("/lottery/winner-list", { state: { id: lotteryId } }); }; const handleClickExpectation = async (participantId: number) => { @@ -130,8 +130,8 @@ export default function LotteryParticipantList() { dataLastItem={targetRef} /> -