Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
fix: Remove redundant onUpdatePopover calls, #157
Browse files Browse the repository at this point in the history
  • Loading branch information
diondiondion committed Sep 14, 2021
1 parent bc67278 commit a7fd14d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/Combobox/ComboboxMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ function ComboboxMenu({children, 'aria-label': ariaLabel}) {
{...popover.props}
ref={popover.setRef}
arrow={popover.arrow}
onUpdatePopover={popover.update}
>
{shouldShowStatusMessage ? (
<Box px="s" py="xs">
Expand Down
1 change: 0 additions & 1 deletion src/Menu/MenuList.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ function MenuList({children}) {
{...popover.props}
ref={popover.setRef}
arrow={popover.arrow}
onUpdatePopover={popover.update}
>
<MenuListUI.Wrapper {...menuListProps}>
{children}
Expand Down
1 change: 0 additions & 1 deletion src/NavMenu/NavMenuList.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ function NavMenuList({children}) {
ref={popover.setRef}
id={itemList.listId}
arrow={popover.arrow}
onUpdatePopover={popover.update}
>
<MenuListUI.Wrapper>{children}</MenuListUI.Wrapper>
</PopoverCard>
Expand Down
1 change: 0 additions & 1 deletion src/Popover/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const Popover = forwardRef((props, ref) => {
{...popover.props}
ref={popover.setRef}
arrow={popover.arrow}
onUpdatePopover={popover.update}
>
{content}
</PopoverCard>
Expand Down
1 change: 0 additions & 1 deletion src/Select/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ function Select({
{...popover.props}
ref={popover.setRef}
arrow={popover.arrow}
onUpdatePopover={popover.update}
>
<MenuListUI.Wrapper
role="listbox"
Expand Down

0 comments on commit a7fd14d

Please sign in to comment.