Skip to content

Commit

Permalink
Fix typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipb committed Dec 3, 2019
1 parent a23f74c commit 359ff73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ export const NodeDetailsPage = (props: Props) => {
<EuiPage style={{ flex: '1 0 auto' }}>
<MetricsSideNav loading={props.metadataLoading} name={props.name} items={props.sideNav} />
<AutoSizer content={false} bounds detectAnyWindowResize>
{({ measureRef, bounds: { width = 0 } }) => {
{({ bounds: { width = 0 } }) => {
const w = width ? `${width}px` : `100%`;
return (
<MetricsDetailsPageColumn innerRef={measureRef}>
<MetricsDetailsPageColumn>
<EuiPageBody style={{ width: w }}>
<EuiPageHeader style={{ flex: '0 0 auto' }}>
<EuiPageHeaderSection style={{ width: '100%' }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import { UsageCollectionSetup } from 'src/plugins/usage_collection/server';
import { InfraNodeType } from '../graphql/types';
import { KbnServer } from '../kibana.index';
import { InventoryItemType } from '../../common/inventory_models/types';

const KIBANA_REPORTING_TYPE = 'infraops';
Expand Down

0 comments on commit 359ff73

Please sign in to comment.