From 1e8552888941b97a58297ce43cb2e84b0142e60d Mon Sep 17 00:00:00 2001 From: whyour Date: Sat, 26 Feb 2022 00:13:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/error/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/error/index.tsx b/src/pages/error/index.tsx index 5b437f14..59b905e0 100644 --- a/src/pages/error/index.tsx +++ b/src/pages/error/index.tsx @@ -22,7 +22,7 @@ const Error = ({ user }: any) => { useEffect(() => { if (user) { - history.push('/'); + history.push('/crontab'); } }, [user]);