debian-mirror-gitlab/app/assets/javascripts/header_search/store/state.js
2022-05-07 20:08:51 +05:30

19 lines
307 B
JavaScript

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