Skip to content

Commit

Permalink
use IndexPattern instead of IIndexPattern (elastic#107200) (elastic#1…
Browse files Browse the repository at this point in the history
…07275)

Co-authored-by: Matthew Kime <matt@mattki.me>
  • Loading branch information
kibanamachine and mattkime authored Jul 30, 2021
1 parent 2695924 commit 5802dde
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 5802dde

Please sign in to comment.