mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-05-26 15:11:02 +00:00
bug fixed
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user