Skip to content

Commit

Permalink
Resolved type error within EuiContextMenu by removing the watchedItem…
Browse files Browse the repository at this point in the history
…Props prop. It was recently deprecated in EUI PR# 5880 (elastic/eui#5880) as is no longer needed
  • Loading branch information
breehall committed May 18, 2022
1 parent 16c308c commit bd52b5b
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ export function FieldSearch({
})}
</EuiPopoverTitle>
<EuiContextMenuPanel
watchedItemProps={['icon', 'disabled']}
items={(availableFieldTypes as string[]).map((type) => (
<EuiContextMenuItem
key={type}
Expand Down

0 comments on commit bd52b5b

Please sign in to comment.