diff --git a/src/components/DashboardS2/DailyRoulette/DailyDrawModal.tsx b/src/components/DashboardS2/DailyRoulette/DailyDrawModal.tsx index 6b3c6c33..761ddc44 100644 --- a/src/components/DashboardS2/DailyRoulette/DailyDrawModal.tsx +++ b/src/components/DashboardS2/DailyRoulette/DailyDrawModal.tsx @@ -101,10 +101,10 @@ const DailyDrawModal: React.FC = (props: IProps) => { if (!modalInstance.isOpen) { modalInstance.onOpen(); } + setSpinging(true); const res = await dailyOpen(); const tokenId = res.result.tokenId as number; const prizeId = PRIZE_MAP[tokenId]; - setSpinging(true); onDrawed(); // update remain times await drawRef.current?.start(prizeId); const prize = PrizeItems[PRIZE_MAP[tokenId]];