Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv committed Dec 12, 2018
1 parent edd6aac commit 1c69b66
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions x-pack/plugins/apm/public/components/shared/Stacktrace/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { EuiTitle } from '@elastic/eui';
import { isEmpty } from 'lodash';
import React, { PureComponent } from 'react';
import { Stackframe } from '../../../../typings/APMDoc';
import { Stackframe } from '../../../../typings/es_schemas/APMDoc';
import { CodePreview } from '../../shared/CodePreview';
import { EmptyMessage } from '../../shared/EmptyMessage';
// @ts-ignore
Expand Down Expand Up @@ -79,16 +79,17 @@ export class Stacktrace extends PureComponent<Props, State> {
/>
);
}
return groupedStackframes.map((stackframe, idx) =>
hasSourceLines(stackframe) ? (
<CodePreview
key={idx}
stackframe={stackframe}
codeLanguage={codeLanguage}
/>
) : (
<FrameHeading key={idx} stackframe={stackframe} />
)
return groupedStackframes.map(
(stackframe, idx) =>
hasSourceLines(stackframe) ? (
<CodePreview
key={idx}
stackframe={stackframe}
codeLanguage={codeLanguage}
/>
) : (
<FrameHeading key={idx} stackframe={stackframe} />
)
);
}
)}
Expand Down

0 comments on commit 1c69b66

Please sign in to comment.