Skip to content

Commit

Permalink
Remove language=json on code blocks due to performance hit (#41540)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Caldwell authored Jul 19, 2019
1 parent 6d7ccbe commit e6524bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class JsonImportProgress extends Component {
/>
</h4>
</EuiTitle>
<EuiCodeBlock language="json" paddingSize="s" overflowHeight={200}>
<EuiCodeBlock paddingSize="s" overflowHeight={200}>
{indexDataJson}
</EuiCodeBlock>
<EuiSpacer size="m" />
Expand All @@ -100,7 +100,7 @@ export class JsonImportProgress extends Component {
/>
</h4>
</EuiTitle>
<EuiCodeBlock language="json" paddingSize="s" overflowHeight={200}>
<EuiCodeBlock paddingSize="s" overflowHeight={200}>
{indexPatternJson}
</EuiCodeBlock>
<EuiSpacer size="m" />
Expand Down

0 comments on commit e6524bc

Please sign in to comment.