From 8e68eb35f3178c7c98a299dfe4f89a99f8b6762b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A2=A6=E6=B4=81?= Date: Thu, 21 Nov 2024 16:20:52 +0800 Subject: [PATCH] fix: Change file name --- .../common/src/components/aoplatform/WithRouteGuard.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/packages/common/src/components/aoplatform/WithRouteGuard.tsx b/frontend/packages/common/src/components/aoplatform/WithRouteGuard.tsx index 242ad144..7edd1f59 100644 --- a/frontend/packages/common/src/components/aoplatform/WithRouteGuard.tsx +++ b/frontend/packages/common/src/components/aoplatform/WithRouteGuard.tsx @@ -13,9 +13,6 @@ const withRouteGuard = (WrappedComponent: ExoticComponent | JSXElementConst return function RouteGuard(props: JSX.IntrinsicAttributes) { const [isActivated, setIsActivated] = useState(false); const location = useLocation(); - useEffect(()=>{ - console.log('路由守卫') - },[]) // check canActivate const startLifecycle = async ()=>{ if(canActivate){