From c53a615981fa86bd2234ee7fcb1f801a9a899ac6 Mon Sep 17 00:00:00 2001 From: Kakabay <2kakabayashyrberdyew@gmail.com> Date: Fri, 10 Jan 2025 18:23:36 +0500 Subject: [PATCH] log out button added to the lottery --- app/(main)/lottery/page.tsx | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/app/(main)/lottery/page.tsx b/app/(main)/lottery/page.tsx index b3f088d..85a4629 100644 --- a/app/(main)/lottery/page.tsx +++ b/app/(main)/lottery/page.tsx @@ -11,6 +11,7 @@ import LotteryCountDown from '@/components/lottery/countDown/LotteryCountDown'; import LotteryCountDownAllert from '@/components/lottery/countDown/countDownAllert/LotteryCountDownAllert'; import { LotteryWinnerDataSimplified } from '@/typings/lottery/lottery.types'; import { Queries } from '@/api/queries'; +import Link from 'next/link'; const LotteryPage = () => { const { lotteryData, setAuth } = useLotteryAuth(); @@ -60,9 +61,20 @@ const LotteryPage = () => { - {lotteryData && (status === 'ended' || status === 'started') && ( - - )} +
+ {lotteryData && (status === 'ended' || status === 'started') && ( + + )} +
+
+ + Täzeden girmek + +
+
+
);