Add sorting to sketches #789 (#910)

* reselect added

* Added Reselect Sorting

* Refactor App

* added svgs

* Refactor

* Fixed Issues

* re: #789, update sorting styling, create sorting actions and reducers, add sort by sketch name

* re #789, change names of svg icons

* re: #789, use orderBy instead of sortBy, fix styling jumps
This commit is contained in:
siddhant 2019-06-07 02:47:33 +05:30 committed by Cassie Tarakajian
parent a10e0f0327
commit a851eda254

View file

@ -363,10 +363,6 @@ SketchList.propTypes = {
}; };
SketchList.defaultProps = { SketchList.defaultProps = {
project: {
id: undefined,
owner: undefined
},
username: undefined username: undefined
}; };
@ -375,8 +371,7 @@ function mapStateToProps(state) {
user: state.user, user: state.user,
sketches: getSortedSketches(state), sketches: getSortedSketches(state),
sorting: state.sorting, sorting: state.sorting,
loading: state.loading, loading: state.loading
project: state.project
}; };
} }