Skip to content

Commit

Permalink
fix(header): allow auth props to be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Sep 17, 2024
1 parent ba16fc6 commit a2634ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/utah-design-system/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export const Header = ({
}: {
children: ReactNode;
links: HeaderLink[];
currentUser: User;
logout: () => void;
currentUser: User | undefined;
logout: () => void | undefined;
}) => {
let state = useOverlayTriggerState(props);
let { triggerProps, overlayProps } = useOverlayTrigger(
Expand Down

0 comments on commit a2634ad

Please sign in to comment.