mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
- Refactor BevyScene
to replace script injection with dynamic import
.
- Update `NavItem` to provide fallback route for invalid `path`. - Temporarily stub metric API endpoints with placeholders.
This commit is contained in:
@@ -5,7 +5,7 @@ function NavItem({ path, children, color, onClick, as, cursor }) {
|
||||
return (
|
||||
<Box
|
||||
as={as ?? 'a'}
|
||||
href={path}
|
||||
href={path && path.length > 1 ? path : '/'}
|
||||
mb={2}
|
||||
cursor={cursor}
|
||||
// ml={5}
|
||||
|
Reference in New Issue
Block a user