Skip to content
Snippets Groups Projects
Commit ed5ca6cd authored by Jaden DIEFENBAUGH's avatar Jaden DIEFENBAUGH
Browse files

[toolchain] enable history across saves, closes #106

parent 3b0e3af2
Branches
Tags
No related merge requests found
...@@ -139,10 +139,7 @@ export class ToolchainEditor extends React.PureComponent<Props, State> { ...@@ -139,10 +139,7 @@ export class ToolchainEditor extends React.PureComponent<Props, State> {
componentWillReceiveProps = (nextProps: Props) => { componentWillReceiveProps = (nextProps: Props) => {
this.setState({ this.setState({
cache: getValidObj(nextProps.data), cache: getValidObj(nextProps.data),
history: { history: generateNewHistory(this.state),
past: [],
future: [],
},
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment