From bbbc9144f588619af0acbe2f90f8a82d882f2c41 Mon Sep 17 00:00:00 2001 From: felinae98 <731499577@qq.com> Date: Fri, 19 Nov 2021 14:32:26 +0800 Subject: [PATCH] fix frontend --- admin-frontend/src/pages/auth.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-frontend/src/pages/auth.tsx b/admin-frontend/src/pages/auth.tsx index a0f7e90..c8894be 100644 --- a/admin-frontend/src/pages/auth.tsx +++ b/admin-frontend/src/pages/auth.tsx @@ -22,6 +22,6 @@ export function Auth() { } } loginFun(); - }, []) + }, [code, save]) return content; }