From e8a4d6177ea72993681ba4fd9ab31d58505c7206 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 88c193d1533b..a26b28f3cf9f 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();