Skip to content

Commit

Permalink
use IndexPattern instead of IIndexPattern (elastic#107200)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime authored and vadimkibana committed Aug 8, 2021
1 parent 88eb818 commit 696c856
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
DataPublicPluginStart,
esFilters,
Filter,
IIndexPattern,
IndexPattern,
Query,
QueryState,
syncQueryStateWithUrl,
Expand Down Expand Up @@ -127,7 +127,7 @@ export const App = ({
};

function useIndexPattern(data: DataPublicPluginStart) {
const [indexPattern, setIndexPattern] = useState<IIndexPattern>();
const [indexPattern, setIndexPattern] = useState<IndexPattern>();
useEffect(() => {
const fetchIndexPattern = async () => {
const defaultIndexPattern = await data.indexPatterns.getDefault();
Expand Down

0 comments on commit 696c856

Please sign in to comment.