1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-06-27 15:01:53 +03:00

Fix NPE in LoggedInView

Fixes a NPE displaying the new version bar
(also fix displayname for WithMatrixClient)
This commit is contained in:
Richard van der Hoff
2016-11-07 09:23:45 +00:00
parent c973dbf1c4
commit 2ee98e9fdc
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ export default React.createClass({
var topBar;
if (this.props.hasNewVersion) {
topBar = <NewVersionBar version={this.props.version} newVersion={this.props.newVersion}
releaseNotes={this.state.newVersionReleaseNotes}
releaseNotes={this.props.newVersionReleaseNotes}
/>;
}
else if (this.props.matrixClient.isGuest()) {