File tree 2 files changed +1
-11
lines changed
2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -138,5 +138,3 @@ export const START_SAVING_PROJECT = 'START_SAVING_PROJECT';
138
138
export const END_SAVING_PROJECT = 'END_SAVING_PROJECT' ;
139
139
140
140
export const SET_COOKIE_CONSENT = 'SET_COOKIE_CONSENT' ;
141
-
142
- export const SET_SEARCH_TERM = 'SET_SEARCH_TERM' ;
Original file line number Diff line number Diff line change 1
- import * as ActionTypes from '../../../constants' ;
2
1
import { setSorting } from '../reducers/sorting' ;
2
+ import { setSearchTerm } from '../reducers/search' ;
3
3
4
4
export { toggleDirectionForField } from '../reducers/sorting' ;
5
5
@@ -12,14 +12,6 @@ export function resetSorting() {
12
12
return setSorting ( 'createdAt' , DIRECTION . DESC ) ;
13
13
}
14
14
15
- export function setSearchTerm ( scope , searchTerm ) {
16
- return {
17
- type : ActionTypes . SET_SEARCH_TERM ,
18
- query : searchTerm ,
19
- scope
20
- } ;
21
- }
22
-
23
15
export function resetSearchTerm ( scope ) {
24
16
return setSearchTerm ( scope , '' ) ;
25
17
}
You can’t perform that action at this time.
0 commit comments