File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class Lane extends Component {
3333 onLaneScroll ( nextPage , this . props . id ) . then ( moreCards => {
3434 if ( ! moreCards || moreCards . length === 0 ) {
3535 // if no cards present, stop retrying until user action
36- node . scrollTop = node . scrollTop - 100
36+ node . scrollTop = node . scrollTop - 10
3737 } else {
3838 this . props . actions . paginateLane ( {
3939 laneId : this . props . id ,
@@ -49,7 +49,7 @@ class Lane extends Component {
4949 sortCards ( cards , sortFunction ) {
5050 if ( ! cards ) return [ ]
5151 if ( ! sortFunction ) return cards
52- return cards . concat ( ) . sort ( function ( card1 , card2 ) {
52+ return cards . concat ( ) . sort ( function ( card1 , card2 ) {
5353 return sortFunction ( card1 , card2 )
5454 } )
5555 }
@@ -330,7 +330,4 @@ const mapDispatchToProps = dispatch => ({
330330 actions : bindActionCreators ( laneActions , dispatch )
331331} )
332332
333- export default connect (
334- null ,
335- mapDispatchToProps
336- ) ( Lane )
333+ export default connect ( null , mapDispatchToProps ) ( Lane )
You can’t perform that action at this time.
0 commit comments