Skip to content

Commit

Permalink
fix import and types
Browse files Browse the repository at this point in the history
  • Loading branch information
estermv committed Sep 13, 2021
1 parent 80166cc commit 8ba3588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import moment from 'moment';
import { useContext, useState, useEffect, useRef } from 'react';
import { useHistory } from 'react-router-dom';
import { useKibana } from '../../../../../../src/plugins/kibana_react/public';
import { MonitoringTimeContainer } from '../pages/use_monitoring_time';
import { MonitoringTimeContainer } from '../hooks/use_monitoring_time';

export function useCharts() {
const { services } = useKibana<{ data: any }>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const ElasticsearchOverviewPage: React.FC<ComponentProps> = ({ clusters }
setData(response);
}, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http]);

const renderOverview = (overviewData) => {
const renderOverview = (overviewData: any) => {
if (overviewData === null) {
return null;
}
Expand Down

0 comments on commit 8ba3588

Please sign in to comment.