fixes profile pages protection
This commit is contained in:
@@ -2,6 +2,7 @@ const privateRoutes = [
|
|||||||
"/settings",
|
"/settings",
|
||||||
"/lists",
|
"/lists",
|
||||||
"/trail/edit/new",
|
"/trail/edit/new",
|
||||||
|
"/profile"
|
||||||
]
|
]
|
||||||
|
|
||||||
export function isRouteProtected(path: string) {
|
export function isRouteProtected(path: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user