File tree 3 files changed +2
-1
lines changed
components/CollectionList
3 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
import { setSorting } from '../reducers/sorting' ;
2
2
import { setSearchTerm } from '../reducers/search' ;
3
3
4
+ export { setSearchTerm } from '../reducers/search' ;
4
5
export { toggleDirectionForField } from '../reducers/sorting' ;
5
6
6
7
export const DIRECTION = {
Original file line number Diff line number Diff line change @@ -119,7 +119,6 @@ class CollectionList extends React.Component {
119
119
120
120
_renderFieldHeader = ( fieldName , displayName ) => {
121
121
const { field, direction } = this . props . sorting ;
122
- console . log ( field ) ;
123
122
const headerClass = classNames ( {
124
123
'sketches-table__header' : true ,
125
124
'sketches-table__header--selected' : field === fieldName
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ const sortingSlice = createSlice({
22
22
} ,
23
23
setSorting : ( state , action ) => {
24
24
const { field, direction } = action . payload ;
25
+ console . log ( field ) ;
25
26
return { ...state , field, direction } ;
26
27
}
27
28
}
You can’t perform that action at this time.
0 commit comments