Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix prop name
Browse files Browse the repository at this point in the history
  • Loading branch information
Germain Souquet committed Apr 21, 2022
1 parent 532e2cc commit b46ba61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/accessibility/context_menu/ContextMenuButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ interface IProps extends React.ComponentProps<typeof AccessibleButton> {
label?: string;
// whether or not the context menu is currently open
isExpanded: boolean;
ref?: React.Ref<unknown> | React.LegacyRef<unknown> | React.ForwardedRef<unknown>;
}

// Semantic component for representing the AccessibleButton which launches a <ContextMenu />
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/directory/NetworkDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ const NetworkDropdown = ({ onOptionChange, protocols = {}, selectedServerName, s
"mx_NetworkDropdown": true,
"mx_NetworkDropdown--open": menuDisplayed,
})}
inputRef={handle}
ref={handle}
>
<span>{ currentValue } ({ selectedServerName })</span>
<ChevronDownIcon className="mx_NetworkDropdown_chevron" />
Expand Down

0 comments on commit b46ba61

Please sign in to comment.