We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb2b4e5 commit 4e6effbCopy full SHA for 4e6effb
1 file changed
x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/advanced_options.tsx
@@ -73,10 +73,10 @@ export function AdvancedOptions(props: {
73
<>
74
<EuiSpacer size="s" />
75
{inlineOptions.map((option, index) => (
76
- <>
77
- {React.cloneElement(option.inlineElement!, { key: option.dataTestSubj })}
+ <React.Fragment key={option.dataTestSubj}>
+ {option.inlineElement}
78
{index !== inlineOptions.length - 1 && <EuiSpacer size="s" />}
79
- </>
+ </React.Fragment>
80
))}
81
</>
82
)}
0 commit comments