Fix gap insertion for timeline disconnection (#7363)

master
Akihiko Odaki 7 years ago committed by Eugen Rochko
parent c73ce7b695
commit 66359ec522
  1. 2
      app/javascript/mastodon/reducers/timelines.js

@ -134,7 +134,7 @@ export default function timelines(state = initialState, action) {
initialTimeline, initialTimeline,
map => map.update( map => map.update(
'items', 'items',
items => items.first() ? items : items.unshift(null) items => items.first() ? items.unshift(null) : items
) )
); );
default: default:

Loading…
Cancel
Save