diff --git a/embark-ui/src/containers/EditorContainer.js b/embark-ui/src/containers/EditorContainer.js index 5418fd00c..12a867427 100644 --- a/embark-ui/src/containers/EditorContainer.js +++ b/embark-ui/src/containers/EditorContainer.js @@ -47,7 +47,9 @@ class EditorContainer extends React.Component { componentDidMount() { this.props.fetchEditorTabs(); this.props.fetchContracts(); - this.props.fetchTransaction(this.props.debuggerTransactionHash); + if (this.props.debuggerTransactionHash) { + this.props.fetchTransaction(this.props.debuggerTransactionHash); + } window.addEventListener("resize", this.updateDimensions.bind(this)); } diff --git a/embark-ui/src/containers/FileExplorerRowContainer.js b/embark-ui/src/containers/FileExplorerRowContainer.js index 6946c3614..1bf5f2135 100644 --- a/embark-ui/src/containers/FileExplorerRowContainer.js +++ b/embark-ui/src/containers/FileExplorerRowContainer.js @@ -64,7 +64,7 @@ class FileExplorerRowContainer extends React.Component { render() { return ( -