kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Use PlaceholderStatus in paginated thread
rodzic
f672f46809
commit
36a5432f9a
|
@ -770,6 +770,7 @@ class Status extends ImmutablePureComponent<IStatus, IStatusState> {
|
||||||
onRefresh={this.handleRefresh}
|
onRefresh={this.handleRefresh}
|
||||||
hasMore={!!this.state.next}
|
hasMore={!!this.state.next}
|
||||||
onLoadMore={this.handleLoadMore}
|
onLoadMore={this.handleLoadMore}
|
||||||
|
placeholderComponent={() => <PlaceholderStatus thread />}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</ScrollableList>
|
</ScrollableList>
|
||||||
|
|
Ładowanie…
Reference in New Issue