diff --git a/src/components/views/rooms/AuxPanel.js b/src/components/views/rooms/AuxPanel.js index 69fe209580..a50743a25d 100644 --- a/src/components/views/rooms/AuxPanel.js +++ b/src/components/views/rooms/AuxPanel.js @@ -129,10 +129,7 @@ module.exports = React.createClass({ ); let appsDrawer = null; - let appCount = 0; if(UserSettingsStore.isFeatureEnabled('matrix_apps') && this.props.showApps) { - const appsStateEvents = this.props.room.currentState.getStateEvents('im.vector.modular.widgets'); - if (appsStateEvents) appCount = appsStateEvents.length; appsDrawer = +
{ appsDrawer } { fileDropTarget } { callView }