From 814220c8f3b1975b90a6ae85df35343a283cd42d Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Thu, 22 Jun 2023 10:50:40 +0900 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E3=82=8A=E4=BB=A3=E3=82=8F=E3=82=8A?= =?UTF-8?q?=E8=A7=A3=E9=99=A4=E6=99=82=E3=81=AE=E7=94=BB=E9=9D=A2=E9=81=B7?= =?UTF-8?q?=E7=A7=BB=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/auth/clear-contract.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/auth/clear-contract.tsx b/src/pages/auth/clear-contract.tsx index 955da2a..d7e6f9b 100644 --- a/src/pages/auth/clear-contract.tsx +++ b/src/pages/auth/clear-contract.tsx @@ -12,13 +12,13 @@ export default function ClearChangeContract() { const { navigateWhenChanged } = useNavigateCustom(); useEffect(() => { + navigateWhenChanged(getPath(PageID.DASHBOARD_OVERVIEW)); changeContractId(null).then((ret) => { if (ret) { info("成り代わり解除しました"); } else { error("失敗しました"); } - navigateWhenChanged(getPath(PageID.DASHBOARD_OVERVIEW)); }); }, []);