From d14f16f0e93a2c28444b9d6ac72e8c0e8b4454c0 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sun, 27 Aug 2017 17:25:51 +0100 Subject: [PATCH] look at event property of the mxEv, this way we won't have all the additional internal keys :) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/dialogs/DevtoolsDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/dialogs/DevtoolsDialog.js b/src/components/views/dialogs/DevtoolsDialog.js index dc8f8769..e343f152 100644 --- a/src/components/views/dialogs/DevtoolsDialog.js +++ b/src/components/views/dialogs/DevtoolsDialog.js @@ -171,7 +171,7 @@ class RoomStateExplorer extends React.Component { onViewSourceClick(event) { const self = this; return () => { - self.setState({ event }); + self.setState({ event: event.event }); }; }