Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
smith committed Nov 16, 2020
1 parent 49d060e commit 85d688b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,7 @@ export function TransactionDistribution({
/>
</h5>
</EuiTitle>
<ChartContainer
height={unit * 10}
hasData={!!(distribution && !distribution.noHits)}
status={fetchStatus}
>
<ChartContainer height={unit * 10} status={fetchStatus}>
<Chart>
<Settings
xDomain={{ min: xMin, max: xMax }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
EuiPanel,
EuiTitle,
} from '@elastic/eui';
import theme from '@elastic/eui/dist/eui_theme_light.json';
import { i18n } from '@kbn/i18n';
import React from 'react';
import { useTrackPageview } from '../../../../../observability/public';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ export function TransactionBreakdownGraph({ fetchStatus, timeseries }: Props) {
const xFormatter = niceTimeFormatter([min, max]);

return (
<ChartContainer
height={XY_HEIGHT}
hasData={!!timeseries}
status={fetchStatus}
>
<ChartContainer height={XY_HEIGHT} status={fetchStatus}>
<Chart ref={chartRef} id="timeSpentBySpan">
<Settings
onBrushEnd={({ x }) => onBrushEnd({ x, history })}
Expand Down

0 comments on commit 85d688b

Please sign in to comment.