Commit ed5ca6cd authored by Jaden DIEFENBAUGH's avatar Jaden DIEFENBAUGH
Browse files

[toolchain] enable history across saves, closes #106

parent 3b0e3af2
......@@ -139,10 +139,7 @@ export class ToolchainEditor extends React.PureComponent<Props, State> {
componentWillReceiveProps = (nextProps: Props) => {
this.setState({
cache: getValidObj(nextProps.data),
history: {
past: [],
future: [],
},
history: generateNewHistory(this.state),
});
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment