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 }); }; }