Skip to content

Commit

Permalink
fix: missing Menu props
Browse files Browse the repository at this point in the history
  • Loading branch information
dougfabris committed Jul 13, 2022
1 parent 1da8aad commit b179ec7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/meteor/client/views/admin/users/UserInfoActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ export const UserInfoActions = ({ username, _id, isActive, isAdmin, onChange, on
small={false}
ghost={false}
flexShrink={0}
maxHeight='initial'
key='menu'
renderItem={({ label: { label, icon }, ...props }) => <Option label={label} title={label} icon={icon} {...props} />}
options={menuOptions}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ const RoomInfo = ({
flexShrink={0}
mi='x2'
key='menu'
ghost={false}
maxHeight='initial'
secondary
renderItem={({ label: { label, icon }, ...props }) => <Option {...props} label={label} icon={icon} />}
options={menuOptions}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const UserActions = ({ username, _id, rid, reload }) => {
return (
<Menu
flexShrink={0}
maxHeight='initial'
key='menu'
tiny
renderItem={({ label: { label, icon }, ...props }) => <Option {...props} label={label} icon={icon} />}
Expand Down

0 comments on commit b179ec7

Please sign in to comment.