From 9f1700f9eb3ae51363ac75a8174a92b2d70b9412 Mon Sep 17 00:00:00 2001 From: imhson Date: Fri, 22 Mar 2024 18:43:36 +0700 Subject: [PATCH] fix --- app/(private)/jackpot/page.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/(private)/jackpot/page.tsx b/app/(private)/jackpot/page.tsx index 4a78f9c..ef654e0 100644 --- a/app/(private)/jackpot/page.tsx +++ b/app/(private)/jackpot/page.tsx @@ -204,10 +204,10 @@ export default function Page() { -
+
-
+
{!!jackpotData?.jackpots && !!userJackpotData?.jackpot_users && ( <>
@@ -217,13 +217,13 @@ export default function Page() {
-
+
{`The Dragon will appear and fulfill your wish at ${moment() .add(14, 'd') .format('h a, Do MMM YYYY')} (UTC +7)`}
-
+
{[...(Array(jackpotData.jackpots?.[0]?.slot).keys() as any)].map((index) => (
@@ -361,11 +361,11 @@ export default function Page() { All rank 1-Star 2-Star - 3-Star + {/* 3-Star 4-Star 5-Star 6-Star - 7-Star + 7-Star */}
@@ -376,7 +376,7 @@ export default function Page() { (c) => Array.from(selectedColorKey)[0] == 'all_colors' || Array.from(selectedColorKey)[0][0] == c ) .map((color: string) => { - return ['1', '2', '3', '4', '5', '6', '7'] + return ['1', '2'] .filter( (s) => Array.from(selectedRankKey)[0] == 'all_rank' || Array.from(selectedRankKey)[0][0] == s )