Fix since_id
This commit is contained in:
		
							parent
							
								
									3cbe0c26bb
								
							
						
					
					
						commit
						4b85bf12ab
					
				@ -102,7 +102,7 @@ export function expandNotifications({ maxId } = {}, done = noOp) {
 | 
				
			|||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!maxId && notifications.get('items').size > 0) {
 | 
					    if (!maxId && notifications.get('items').size > 0) {
 | 
				
			||||||
      params.since_id = notifications.getIn(['items', 0]);
 | 
					      params.since_id = notifications.getIn(['items', 0, 'id']);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    dispatch(expandNotificationsRequest(isLoadingMore));
 | 
					    dispatch(expandNotificationsRequest(isLoadingMore));
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user