diff --git a/app.js b/app.js index 4ad33a2..a6b791c 100644 --- a/app.js +++ b/app.js @@ -88,7 +88,7 @@ let App = create({ <> {this.setState({roomId: roomId})}}/>
- +
diff --git a/components/info.js b/components/info.js index d33151a..c2c26ea 100644 --- a/components/info.js +++ b/components/info.js @@ -7,7 +7,11 @@ const Promise = require('bluebird') let info = create({ displayName: "Info", render: function() { - return
Room Title
+ let title = "" + if (this.props.room != undefined) { + title = this.props.room.name + } + return
{title}
} })