Skip to content

Commit

Permalink
fix(): Handle empty product name case in nav.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanCQ committed Sep 17, 2024
1 parent 46a6b0b commit 6843454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/custom/docs/components/navmenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export const NavBar = (props: {
<QuantinuumIdent/>
</div>
</a>
<div className="text-muted-foreground text-xs font-medium flex items-center gap-1.5">
{props.navProductName !== '' ? <div className="text-muted-foreground text-xs font-medium flex items-center gap-1.5">
<div className='mx-0.5 text-muted-foreground/50'>|</div><div>{props.navProductName}</div>
</div>
</div> : null}
</div>
<Link href="/" className="ml-4 mr-4 flex items-center space-x-2">
<span className="hidden font-bold">Quantinuum</span>
Expand Down

0 comments on commit 6843454

Please sign in to comment.