gitlab-org--gitlab-foss/app/assets/javascripts/header_search/store/state.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
307 B
JavaScript
Raw Normal View History

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