Skip to content

Commit 680c242

Browse files
fix
1 parent 8f4e8fd commit 680c242

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

client/modules/IDE/actions/sorting.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { setSorting } from '../reducers/sorting';
22
import { setSearchTerm } from '../reducers/search';
33

4+
export { setSearchTerm } from '../reducers/search';
45
export { toggleDirectionForField } from '../reducers/sorting';
56

67
export const DIRECTION = {

client/modules/IDE/components/CollectionList/CollectionList.jsx

-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ class CollectionList extends React.Component {
119119

120120
_renderFieldHeader = (fieldName, displayName) => {
121121
const { field, direction } = this.props.sorting;
122-
console.log(field);
123122
const headerClass = classNames({
124123
'sketches-table__header': true,
125124
'sketches-table__header--selected': field === fieldName

client/modules/IDE/reducers/sorting.js

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const sortingSlice = createSlice({
2222
},
2323
setSorting: (state, action) => {
2424
const { field, direction } = action.payload;
25+
console.log(field);
2526
return { ...state, field, direction };
2627
}
2728
}

0 commit comments

Comments
 (0)