From ebfc61379f7e2b5d44b50a837c0feb932b236c14 Mon Sep 17 00:00:00 2001 From: tufusa Date: Fri, 25 Oct 2024 22:28:45 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B5=B0=E8=A1=8C=E7=B5=90=E6=9E=9C?= =?UTF-8?q?=E9=80=81=E4=BF=A1=E5=BE=8C=E3=81=AB=E8=A9=A6=E5=90=88=E8=A1=A8?= =?UTF-8?q?=E3=81=AB=E9=81=B7=E7=A7=BB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/kcmsf/src/pages/match.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/kcmsf/src/pages/match.tsx b/packages/kcmsf/src/pages/match.tsx index fbbd9bb4..7c28837e 100644 --- a/packages/kcmsf/src/pages/match.tsx +++ b/packages/kcmsf/src/pages/match.tsx @@ -156,9 +156,11 @@ export const Match = () => { }, }} onSubmit={(isSucceeded) => { - if (!isSucceeded || match?.matchType != "main") return; + if (!isSucceeded) return; - navigate(0); + navigate(`/matchlist?match_type=${matchType}`, { + viewTransition: true, + }); }} /> )}