From 7b786b5953fbb6a076d3f74b926f797107e880c4 Mon Sep 17 00:00:00 2001 From: Kakabay <2kakabayashyrberdyew@gmail.com> Date: Mon, 16 Dec 2024 19:36:10 +0500 Subject: [PATCH] commit --- app/(main)/lottery/active/page.tsx | 14 +++++++------- components/lottery/LotteryWinnersSection.tsx | 2 +- components/lottery/spinWheel/SpinWheel.tsx | 4 ++-- components/lottery/winners/LotteryWinnersList.tsx | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/(main)/lottery/active/page.tsx b/app/(main)/lottery/active/page.tsx index 7c7dccc..7e37220 100644 --- a/app/(main)/lottery/active/page.tsx +++ b/app/(main)/lottery/active/page.tsx @@ -82,10 +82,10 @@ const page = () => { )} -
+
@@ -100,16 +100,16 @@ const page = () => { {lotteryStatus === 'not-started' && (
)} diff --git a/components/lottery/LotteryWinnersSection.tsx b/components/lottery/LotteryWinnersSection.tsx index b6be0cf..af1ceea 100644 --- a/components/lottery/LotteryWinnersSection.tsx +++ b/components/lottery/LotteryWinnersSection.tsx @@ -5,7 +5,7 @@ import SpinWheel from './spinWheel/SpinWheel'; import { useState } from 'react'; const LotteryWinnersSection = () => { - const [winners, setWinners] = useState([1, 2, 3, 4, 5, 5, 5, 5]); + const [winners, setWinners] = useState([1]); return (
diff --git a/components/lottery/spinWheel/SpinWheel.tsx b/components/lottery/spinWheel/SpinWheel.tsx index 61f9a35..dbae6f4 100644 --- a/components/lottery/spinWheel/SpinWheel.tsx +++ b/components/lottery/spinWheel/SpinWheel.tsx @@ -119,7 +119,7 @@ const SpinWheel = ({ setWinners }: IProps) => {
{/* Spin Button */} - {/* */} +
); }; diff --git a/components/lottery/winners/LotteryWinnersList.tsx b/components/lottery/winners/LotteryWinnersList.tsx index 10e15bf..cfdf9ce 100644 --- a/components/lottery/winners/LotteryWinnersList.tsx +++ b/components/lottery/winners/LotteryWinnersList.tsx @@ -3,7 +3,7 @@ import LotteryWinner from './LotteryWinner'; const LotteryWinnersList = ({ winners }: { winners: number[] }) => { return (
-
+

Results

The results after each stage will be shown here.