Skip to content

Commit

Permalink
👌 Apply feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 committed Jun 4, 2021
1 parent f14c2c6 commit 46851e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function AdvancedOptions(props: {
<EuiSpacer size="s" />
{inlineOptions.map((option, index) => (
<React.Fragment key={option.dataTestSubj}>
{React.cloneElement(option.inlineElement!, { key: option.dataTestSubj })}
{option.inlineElement}
{index !== inlineOptions.length - 1 && <EuiSpacer size="s" />}
</React.Fragment>
))}
Expand Down

0 comments on commit 46851e8

Please sign in to comment.