- {onSearch && (
-
- onSearch(e.target.value)}
- className="mobile-list-search-input"
- />
-
- )}
+ return (
+
+ {onSearch && (
+
+ onSearch(e.target.value)}
+ className="mobile-list-search-input"
+ />
+
+ )}
- {items.length === 0 ? (
-
- ) : (
-
- {items.map((item) => (
-
- ))}
-
- )}
-
- );
+ {items.length === 0 ? (
+
+ ) : (
+
+ {items.map((item) => (
+
+ ))}
+
+ )}
+
+ );
};
diff --git a/apps/web/src/components/features/mobile/mobile-nav.tsx b/apps/web/src/components/features/mobile/mobile-nav.tsx
index d89efbd..3c6e2f3 100644
--- a/apps/web/src/components/features/mobile/mobile-nav.tsx
+++ b/apps/web/src/components/features/mobile/mobile-nav.tsx
@@ -19,9 +19,21 @@ interface NavItem {
const MOBILE_NAV_ITEMS: NavItem[] = [
{ to: "/", label: "Home", icon: "dashboard" },
+ {
+ to: "/spaces",
+ label: "Spaces",
+ icon: "projects",
+ isGroup: true,
+ group: "spaces",
+ },
{ to: "/sessions", label: "Sessions", icon: "terminal" },
- { to: "/spaces", label: "Spaces", icon: "projects", isGroup: true, group: "spaces" },
- { to: "/tools", label: "Tools", icon: "settings", isGroup: true, group: "tools" },
+ {
+ to: "/tools",
+ label: "Tools",
+ icon: "settings",
+ isGroup: true,
+ group: "tools",
+ },
{ to: "/settings", label: "Settings", icon: "settings" },
];
@@ -49,10 +61,15 @@ export const MobileNav: React.FC