+
{winnerSelectingStatus === "not-selected" ? (
{
/>
)}
-
+
{winners.length > 0 && }
diff --git a/components/lottery/rules/LotteryRulesSection.tsx b/components/lottery/rules/LotteryRulesSection.tsx
index 2694204..ca73f86 100644
--- a/components/lottery/rules/LotteryRulesSection.tsx
+++ b/components/lottery/rules/LotteryRulesSection.tsx
@@ -1,5 +1,6 @@
"use client";
import { useWebsocketLottery } from "@/hooks/useWebSocketLottery";
+import clsx from "clsx";
import { useEffect, useState } from "react";
interface IProps {
@@ -57,46 +58,54 @@ const LotteryRulesSection = ({ show = true, data }: IProps) => {
-
- Düzgünleri:
-
-
-
-
-
- {data?.data.rules?.map((item: any, i: number) => (
- -
- {item.title}
-
- ))}
-
+
+
+
+ Düzgünleri:
+
+
+
+ {data?.data.rules?.map((item: any, i: number) => (
+ -
+ {item.title}
+
+ ))}
+
+
-
-
+
+
Gatnaşyjylaryň sany:
-
{totalParticipants}
+
-
- {show && (
-
-
- Siziň bijeli sanynyz:
-
-
- {data?.user_lottery_numbers.map((item: any, i: number) => (
- -
- {item}
-
- ))}
-
-
- )}
+ {show && (
+
+
+ Siziň bijeli sanyňyz:
+
+
+ {data?.user_lottery_numbers.map((item: any, i: number) => (
+ -
+ {item}
+
+ ))}
+
+
+ )}
+
diff --git a/components/toss/index.tsx b/components/toss/index.tsx
index 1dab014..38761e9 100644
--- a/components/toss/index.tsx
+++ b/components/toss/index.tsx
@@ -22,9 +22,9 @@ const TossPage = async ({
return (
<>
{tossData?.data ? (
-