Complete main UI #37
@@ -31,11 +31,13 @@ export const getAuthRoute = (
|
|||||||
}
|
}
|
||||||
return value
|
return value
|
||||||
})
|
})
|
||||||
temp.push({
|
if (temp[0]) {
|
||||||
path: '',
|
temp.push({
|
||||||
absolutePath: '',
|
path: '',
|
||||||
element: <Navigate to={temp[0].absolutePath} replace />
|
absolutePath: '',
|
||||||
})
|
element: <Navigate to={temp[0].absolutePath} replace />
|
||||||
|
})
|
||||||
|
}
|
||||||
return temp
|
return temp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user