bug fixed

This commit is contained in:
HaoHaoLucas
2026-05-14 04:48:41 +08:00
parent d4f933b715
commit abbab85f24
2 changed files with 48 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ interface RouteGuardProps {
children: React.ReactNode
}
const PUBLIC_ROUTES = ['/', '/home', '/settings']
const PUBLIC_ROUTES = ['/', '/home', '/settings', '/account-management']
function RouteGuard({ children }: RouteGuardProps) {
const navigate = useNavigate()