[Glitch] Fix LoadMore usage in account media gallery
(Even though that codepath is probably never actually used…)lolsob-rspec
parent
50f8e59820
commit
dda787761b
|
@ -35,7 +35,7 @@ class LoadMoreMedia extends ImmutablePureComponent {
|
|||
return (
|
||||
<LoadMore
|
||||
disabled={this.props.disabled}
|
||||
onLoadMore={this.handleLoadMore}
|
||||
onClick={this.handleLoadMore}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
@ -124,6 +124,7 @@ export default class AccountGallery extends ImmutablePureComponent {
|
|||
<LoadMoreMedia
|
||||
key={'more:' + medias.getIn(index + 1, 'id')}
|
||||
maxId={index > 0 ? medias.getIn(index - 1, 'id') : null}
|
||||
onLoadMore={this.handleLoadMore}
|
||||
/>
|
||||
) : (
|
||||
<MediaItem
|
||||
|
|
Loading…
Reference in New Issue