Skip to content

Commit

Permalink
chore: Show Org picker on /clusters page (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjcsmith authored Dec 22, 2024
1 parent c9a718c commit 8f1aadc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ export function Header() {
const clusterId = params?.clusterId as string;

const navigationItems = NavigationItems({ clusterId });
if (!navigationItems) return null;

const navigationLinks = Array.isArray(navigationItems.props.children)
? navigationItems.props.children
: [navigationItems.props.children];
const navigationLinks = Array.isArray(navigationItems?.props.children)
? navigationItems?.props.children
: [navigationItems?.props.children];

return (
<header className="flex items-center justify-between w-full h-16 px-8">
Expand Down

0 comments on commit 8f1aadc

Please sign in to comment.