mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix avatar dropdown props
This commit is contained in:
parent
28ed8a5612
commit
6ea7d04059
1 changed files with 2 additions and 8 deletions
|
|
@ -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}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue