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

8 lines
179 B
JavaScript

const createState = ({ searchPath, issuesPath, mrPath, searchContext }) => ({
searchPath,
issuesPath,
mrPath,
searchContext,
search: '',
});
export default createState;