From 27923e300cd0d32a3c601beb340082d9abb85827 Mon Sep 17 00:00:00 2001 From: Richard Lewis <rick@matrix.org> Date: Thu, 27 Jul 2017 17:47:04 +0100 Subject: [PATCH] Add JSX wrapper. --- src/components/views/rooms/AppsDrawer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/rooms/AppsDrawer.js b/src/components/views/rooms/AppsDrawer.js index 3b8acc3f40..f1c881ec85 100644 --- a/src/components/views/rooms/AppsDrawer.js +++ b/src/components/views/rooms/AppsDrawer.js @@ -164,7 +164,7 @@ module.exports = React.createClass({ render: function() { const apps = this.state.apps.map( (app, index, arr) => { - return <AppTile + return (<AppTile key={app.id} id={app.id} url={app.url} @@ -173,7 +173,7 @@ module.exports = React.createClass({ fullWidth={arr.length<2 ? true : false} room={this.props.room} userId={this.props.userId} - />; + />); }); const addWidget = this.state.apps && this.state.apps.length < 2 &&