debian-mirror-gitlab/app/assets/javascripts/header_search/store/state.js
2021-11-18 22:05:49 +05:30

11 lines
262 B
JavaScript

const createState = ({ searchPath, issuesPath, mrPath, autocompletePath, searchContext }) => ({
searchPath,
issuesPath,
mrPath,
autocompletePath,
searchContext,
search: '',
autocompleteOptions: [],
loading: false,
});
export default createState;