From 3f330d81a7f1878fd34024d6c73231b7f0f9a795 Mon Sep 17 00:00:00 2001 From: Matthew Kime Date: Fri, 30 Jul 2021 05:18:17 -0500 Subject: [PATCH] use IndexPattern instead of IIndexPattern (#107200) --- .../public/with_data_services/app.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/state_containers_examples/public/with_data_services/app.tsx b/examples/state_containers_examples/public/with_data_services/app.tsx index 88c193d1533b7..a26b28f3cf9f3 100644 --- a/examples/state_containers_examples/public/with_data_services/app.tsx +++ b/examples/state_containers_examples/public/with_data_services/app.tsx @@ -26,7 +26,7 @@ import { DataPublicPluginStart, esFilters, Filter, - IIndexPattern, + IndexPattern, Query, QueryState, syncQueryStateWithUrl, @@ -127,7 +127,7 @@ export const App = ({ }; function useIndexPattern(data: DataPublicPluginStart) { - const [indexPattern, setIndexPattern] = useState(); + const [indexPattern, setIndexPattern] = useState(); useEffect(() => { const fetchIndexPattern = async () => { const defaultIndexPattern = await data.indexPatterns.getDefault();