From 4340a9b482d6af947cc113ba5a64d1f79f79f86b Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Thu, 7 Mar 2019 10:28:24 -0500 Subject: [PATCH] fix: editor wasn't saving changes --- packages/embark-ui/src/containers/EditorContainer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/embark-ui/src/containers/EditorContainer.js b/packages/embark-ui/src/containers/EditorContainer.js index a64704b8f..d48a65760 100644 --- a/packages/embark-ui/src/containers/EditorContainer.js +++ b/packages/embark-ui/src/containers/EditorContainer.js @@ -211,7 +211,7 @@ class EditorContainer extends React.Component { this.toggleAsideTab(newTab)} isContract={this.isContract()} - currentFile={this.props.currentFile} + currentFile={this.state.currentFile} activeTab={this.state.currentAsideTab}/>