From 40abe950247d9e45edf4f6b384830e1eae73db7e Mon Sep 17 00:00:00 2001 From: Junho jeon Date: Mon, 18 Dec 2023 14:42:34 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=EC=98=88=EC=A0=95=EB=90=9C=20=ED=86=A0?= =?UTF-8?q?=EB=84=88=EB=A8=BC=ED=8A=B8=EA=B0=80=20=EC=97=86=EC=9D=84=20?= =?UTF-8?q?=EC=8B=9C=20=EC=95=88=EB=82=B4=EB=AC=B8=EA=B5=AC=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1#1159?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tournament.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pages/tournament.tsx b/pages/tournament.tsx index 3ea344ea9..ab72e3a88 100644 --- a/pages/tournament.tsx +++ b/pages/tournament.tsx @@ -79,11 +79,15 @@ export default function Tournament() {

Tournament

예정된 토너먼트
- {waitInfo.data?.tournaments.map((tournament) => ( -
- -
- ))} + {waitInfo.data?.tournaments.length === 0 ? ( +

예정된 토너먼트가 없습니다.

+ ) : ( + waitInfo.data?.tournaments.map((tournament) => ( +
+ +
+ )) + )}
진행중인 토너먼트
{openInfo.data && openInfo.data.tournaments?.length === 0 ? (