Skip to content
Snippets Groups Projects
Commit f529b037 authored by Daniel Bimschas's avatar Daniel Bimschas
Browse files

Merge branch 'HOLI-10900_errorboundary-search-results' into 'main'

HOLI-10900: introduce an error boundary around search results

See merge request app/holi-frontends!2990
parents b466eb16 f215d6c7
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@ import { useTranslation } from 'react-i18next'
import { InstantSearch } from 'react-instantsearch-core'
import { Dimensions, Platform, View } from 'react-native'
import TypesenseInstantSearchAdapter from 'typesense-instantsearch-adapter'
import ErrorBoundary from '@holi/core/errors/components/ErrorBoundary'
export type SearchParams = {
query?: string
......@@ -88,7 +89,9 @@ export const Search = () => {
}}
keyboardVerticalOffset={0}
>
<SearchHitInfiniteList />
<ErrorBoundary>
<SearchHitInfiniteList />
</ErrorBoundary>
</Screen>
</InstantSearch>
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment