Fix avatar dropdown props

This commit is contained in:
Jackson Harper 2023-02-27 12:10:32 +08:00
parent 28ed8a5612
commit 6ea7d04059

View file

@ -189,10 +189,7 @@ function NavHeader(props: NavHeaderProps): JSX.Element {
<DropdownMenu
username={props.username}
triggerElement={
<AvatarDropdown
userInitials={props.userInitials}
profileImageURL={props.profileImageURL}
/>
<AvatarDropdown userInitials={props.userInitials} />
}
actionHandler={props.actionHandler}
/>
@ -235,10 +232,7 @@ function FloatingNavHeader(props: NavHeaderProps): JSX.Element {
<DropdownMenu
username={props.username}
triggerElement={
<AvatarDropdown
userInitials={props.userInitials}
profileImageURL={props.profileImageURL}
/>
<AvatarDropdown userInitials={props.userInitials} />
}
actionHandler={props.actionHandler}
/>