diff --git a/changelogs/fragments/7252.yml b/changelogs/fragments/7252.yml new file mode 100644 index 000000000000..3fe4b2361712 --- /dev/null +++ b/changelogs/fragments/7252.yml @@ -0,0 +1,2 @@ +fix: +- Discover page status stuck in loading State ([#7252](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7252)) \ No newline at end of file diff --git a/src/plugins/discover/public/application/view_components/context/index.tsx b/src/plugins/discover/public/application/view_components/context/index.tsx index 3a1af081226a..f4180d16b196 100644 --- a/src/plugins/discover/public/application/view_components/context/index.tsx +++ b/src/plugins/discover/public/application/view_components/context/index.tsx @@ -10,7 +10,7 @@ import { useOpenSearchDashboards, } from '../../../../../opensearch_dashboards_react/public'; import { getServices } from '../../../opensearch_dashboards_services'; -import { useSearch, SearchContextValue, ResultStatus } from '../utils/use_search'; +import { useSearch, SearchContextValue } from '../utils/use_search'; const SearchContext = React.createContext({} as SearchContextValue); @@ -22,9 +22,6 @@ export default function DiscoverContext({ children }: React.PropsWithChildren