diff --git a/apps/web/src/components/app-switcher.tsx b/apps/web/src/components/app-switcher.tsx index cd1c682..5667c25 100644 --- a/apps/web/src/components/app-switcher.tsx +++ b/apps/web/src/components/app-switcher.tsx @@ -1,9 +1,7 @@ import { DropdownMenu, DropdownMenuContent, - DropdownMenuGroup, DropdownMenuItem, - DropdownMenuLabel, DropdownMenuShortcut, DropdownMenuTrigger, } from '@cfdm/ui/components/dropdown-menu' @@ -59,39 +57,37 @@ export function AppSwitcher() { align="start" sideOffset={4} > - - - {config.menuLabel} - - {config.apps.map((app) => { - const Icon = APP_SWITCHER_ICONS[app.icon] - const isCurrent = app.id === CURRENT_APP_ID - - if (isCurrent) { - return ( - - - {app.name} - - - ) - } +
+ {config.menuLabel} +
+ {config.apps.map((app) => { + const Icon = APP_SWITCHER_ICONS[app.icon] + const isCurrent = app.id === CURRENT_APP_ID + if (isCurrent) { return ( - } - > + {app.name} - {app.shortcut ? ( - {app.shortcut} - ) : null} + ) - })} -
+ } + + return ( + } + > + + {app.name} + {app.shortcut ? ( + {app.shortcut} + ) : null} + + ) + })}