From 9ab30b7b1792cdd134d18be92bc44f2e88b6f959 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 3 Aug 2017 01:05:05 +0100 Subject: [PATCH] fix line-length and copyright header --- src/components/views/dialogs/DevtoolsDialog.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/views/dialogs/DevtoolsDialog.js b/src/components/views/dialogs/DevtoolsDialog.js index 9a518fd041..9ef71c3bfe 100644 --- a/src/components/views/dialogs/DevtoolsDialog.js +++ b/src/components/views/dialogs/DevtoolsDialog.js @@ -1,5 +1,5 @@ /* -Copyright 2017 OpenMarket Ltd +Copyright 2017 Michael Telatynski <7t3chguy@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -97,7 +97,9 @@ class SendCustomStateEvent extends React.Component { async _send() { try { const content = JSON.parse(this.refs.evContent.value); - await MatrixClientPeg.get().sendStateEvent(this.refs.roomId.value, this.refs.eventType.value, content, this.refs.stateKey.value); + await MatrixClientPeg.get().sendStateEvent(this.refs.roomId.value, this.refs.eventType.value, content, + this.refs.stateKey.value); + this.props.onFinished(true); } catch (e) { this.props.onFinished(false); @@ -207,7 +209,9 @@ class RoomStateExplorer extends React.Component { if (keys.length > 1) { rows.push(); } else if (keys.length === 1) { - rows.push(); + rows.push( + + ); } }); } else {