From 2915c38ed95355d41068d50bae0921fcf9c0bc9d Mon Sep 17 00:00:00 2001 From: Jan Jakes Date: Fri, 26 Aug 2022 11:04:54 +0200 Subject: [PATCH] Fix step list item props type [PREMIUM-194] --- .../automation/editor/components/inserter/step_list_item.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mailpoet/assets/js/src/automation/editor/components/inserter/step_list_item.tsx b/mailpoet/assets/js/src/automation/editor/components/inserter/step_list_item.tsx index 9e6eb5fe34..61e750fe9d 100644 --- a/mailpoet/assets/js/src/automation/editor/components/inserter/step_list_item.tsx +++ b/mailpoet/assets/js/src/automation/editor/components/inserter/step_list_item.tsx @@ -15,7 +15,9 @@ const isAppleOS = (): boolean => { ); }; -type Props = ComponentProps & { +type ListboxItemProps = ComponentProps; + +type Props = Omit & { item: Item; onSelect: (item: Item, isModifierKey: boolean) => void; onHover: (item: Item) => void;