mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-06-02 14:10:25 +08:00
feat(adminLayout): refactor route matching logic and improve breadcrumb handling
This commit is contained in:
@@ -81,7 +81,7 @@ function App() {
|
||||
{adminRoutes.map((route) => (
|
||||
<Route
|
||||
key={route.key}
|
||||
path={route.path}
|
||||
path={route.path === '' ? 'index' : route.path}
|
||||
element={route.element}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user