[Lens] Fix editor react error on configuration panel (#101367)
* 🐛 Fix react error * 👌 Apply feedback Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
dc1d98ba17
commit
17e488eb35
|
@ -73,10 +73,10 @@ export function AdvancedOptions(props: {
|
|||
<>
|
||||
<EuiSpacer size="s" />
|
||||
{inlineOptions.map((option, index) => (
|
||||
<>
|
||||
{React.cloneElement(option.inlineElement!, { key: option.dataTestSubj })}
|
||||
<React.Fragment key={option.dataTestSubj}>
|
||||
{option.inlineElement}
|
||||
{index !== inlineOptions.length - 1 && <EuiSpacer size="s" />}
|
||||
</>
|
||||
</React.Fragment>
|
||||
))}
|
||||
</>
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue