refactor: move config to search-backend plugin
Signed-off-by: Enrico Alvarenga <enricomalvarenga@gmail.com>
This commit is contained in:
committed by
Camila Belo
parent
40de4a7210
commit
bdf9e1d668
@@ -249,7 +249,7 @@ export const SearchContextProvider = (props: SearchContextProviderProps) => {
|
||||
...searchInitialState,
|
||||
...(initialState || {}),
|
||||
pageLimit:
|
||||
configApi.getOptionalNumber('app.search.query.pageLimit') ||
|
||||
configApi.getOptionalNumber('search.query.pageLimit') ||
|
||||
initialState?.pageLimit,
|
||||
};
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ export {
|
||||
SearchContextProvider,
|
||||
useSearch,
|
||||
useSearchContextCheck,
|
||||
getSearchContextInitialStateDefaults,
|
||||
} from './SearchContext';
|
||||
|
||||
export type {
|
||||
|
||||
@@ -28,7 +28,6 @@ export {
|
||||
SearchContextProvider,
|
||||
useSearch,
|
||||
useSearchContextCheck,
|
||||
getSearchContextInitialStateDefaults,
|
||||
} from './context';
|
||||
export type {
|
||||
SearchContextProviderProps,
|
||||
|
||||
Reference in New Issue
Block a user