|
|
@ -35,7 +35,7 @@ class LoadMoreMedia extends ImmutablePureComponent {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<LoadMore
|
|
|
|
<LoadMore
|
|
|
|
disabled={this.props.disabled}
|
|
|
|
disabled={this.props.disabled}
|
|
|
|
onLoadMore={this.handleLoadMore}
|
|
|
|
onClick={this.handleLoadMore}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -124,6 +124,7 @@ export default class AccountGallery extends ImmutablePureComponent {
|
|
|
|
<LoadMoreMedia
|
|
|
|
<LoadMoreMedia
|
|
|
|
key={'more:' + medias.getIn(index + 1, 'id')}
|
|
|
|
key={'more:' + medias.getIn(index + 1, 'id')}
|
|
|
|
maxId={index > 0 ? medias.getIn(index - 1, 'id') : null}
|
|
|
|
maxId={index > 0 ? medias.getIn(index - 1, 'id') : null}
|
|
|
|
|
|
|
|
onLoadMore={this.handleLoadMore}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
) : (
|
|
|
|
) : (
|
|
|
|
<MediaItem
|
|
|
|
<MediaItem
|
|
|
|