Merge pull request #3142 from matrix-org/travis/preview-loading

Show a loading state for slow peeks
This commit is contained in:
Travis Ralston 2019-06-27 09:24:25 -06:00 committed by GitHub
commit 7f2ab39609
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 1 deletions

View file

@ -1523,6 +1523,7 @@ module.exports = React.createClass({
<div className="mx_RoomView">
<RoomPreviewBar
canPreview={false}
previewLoading={this.state.peekLoading}
error={this.state.roomLoadError}
loading={loading}
joining={this.state.joining}