Skip to content

Commit

Permalink
fix: 버튼 인터랙션 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jhj2713 committed Aug 12, 2024
1 parent 8e7b167 commit 01c2feb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin/src/pages/LotteryParticipantList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -130,8 +130,8 @@ export default function LotteryParticipantList() {
dataLastItem={targetRef}
/>

<Button buttonSize="lg" onClick={handleLottery}>
당첨자 다시 추첨하기
<Button buttonSize="lg" onClick={handleLotteryWinner}>
당첨자 보러가기
</Button>
</div>

Expand Down

0 comments on commit 01c2feb

Please sign in to comment.