Skip to content

Commit cc93456

Browse files
authored
Fix invalid prop children of type array supplied to I18nProvider (#6698)
fix invalid prop children of type array supplied to I18nProvider
1 parent cc5fc3f commit cc93456

File tree

1 file changed

+4
-4
lines changed
  • plugins/main/public/components/overview/mitre/framework

1 file changed

+4
-4
lines changed

plugins/main/public/components/overview/mitre/framework/mitre.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ const MitreComponent = props => {
155155
};
156156

157157
return (
158-
<div>
159-
<I18nProvider>
158+
<I18nProvider>
159+
<>
160160
<EuiFlexGroup style={flexGroupStyle}>
161161
<EuiFlexItem>
162162
{isDataSourceLoading && !dataSource ? (
@@ -211,8 +211,8 @@ const MitreComponent = props => {
211211
</EuiPanel>
212212
</EuiFlexItem>
213213
</EuiFlexGroup>
214-
</I18nProvider>
215-
</div>
214+
</>
215+
</I18nProvider>
216216
);
217217
};
218218

0 commit comments

Comments
 (0)