Skip to content

Commit

Permalink
fix(interface): update properties
Browse files Browse the repository at this point in the history
  • Loading branch information
cmarin001 committed May 16, 2024
1 parent de716aa commit 680a498
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ interface IHeader {
portalId: string;
navigation: IFNavigation;
logoURL: JSX.Element;
userName: string;
client: string;
userName?: string;
client?: string;
links?: IHeaderLink[];
showLinks?: boolean;
showUser?: boolean;
Expand Down Expand Up @@ -68,10 +68,10 @@ const Header = (props: IHeader) => {
</Text>
</StyledLink>
))}
{showUser && (
{showUser && userName && (
<User
username={userName}
client={client}
client={client!}
size={mobile ? "small" : "large"}
/>
)}
Expand Down

0 comments on commit 680a498

Please sign in to comment.