2021-09-21 14:11:18 -04:00
|
|
|
const createState = ({ searchPath, issuesPath, mrPath, autocompletePath, searchContext }) => ({
|
2021-09-15 14:11:29 -04:00
|
|
|
searchPath,
|
2021-09-09 23:10:59 -04:00
|
|
|
issuesPath,
|
|
|
|
mrPath,
|
2021-09-21 14:11:18 -04:00
|
|
|
autocompletePath,
|
2021-09-09 23:10:59 -04:00
|
|
|
searchContext,
|
2021-09-15 14:11:29 -04:00
|
|
|
search: '',
|
2021-09-21 14:11:18 -04:00
|
|
|
autocompleteOptions: [],
|
2022-03-09 01:07:38 -05:00
|
|
|
autocompleteError: false,
|
2021-09-21 14:11:18 -04:00
|
|
|
loading: false,
|
2021-09-09 23:10:59 -04:00
|
|
|
});
|
|
|
|
export default createState;
|