Skip to content

Commit

Permalink
[UnifiedFieldList] Fix react errors on ESQL enabled (elastic#171867)
Browse files Browse the repository at this point in the history
## Summary

This PR fix some react errors when opening the dataview dropdown due to
some missing keys in JSX.
  • Loading branch information
dej611 authored Nov 23, 2023
1 parent 274b4f4 commit b2ca784
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export function ChangeDataView({
})}
</EuiContextMenuItem>
) : (
<React.Fragment />
<React.Fragment key="empty" />
),
<EuiHorizontalRule margin="none" key="dataviewActions-divider" />
);
Expand Down Expand Up @@ -336,7 +336,7 @@ export function ChangeDataView({
if (textBasedLanguages?.length) {
panelItems.push(
<EuiHorizontalRule margin="none" key="textbasedLanguages-divider" />,
<EuiPanel color="transparent" paddingSize="none">
<EuiPanel color="transparent" paddingSize="none" key="try-esql">
<EuiButton
color="success"
size="s"
Expand Down

0 comments on commit b2ca784

Please sign in to comment.