Skip to content
Snippets Groups Projects
Unverified Commit 3a09be37 authored by Benjamin Wheeler's avatar Benjamin Wheeler Committed by GitHub
Browse files

Merge pull request #3872 from benjiwheeler/no-autosave-on-unmount

do not attempt to autosave on gui unmounting
parents 14b019f3 c82201c4
No related branches found
No related tags found
No related merge requests found
......@@ -71,12 +71,6 @@ const ProjectSaverHOC = function (WrappedComponent) {
this.props.onAutoUpdateProject();
}
}
componentWillUnmount () {
const showingSaveable = this.props.canSave && this.props.isShowingWithId;
if (showingSaveable) {
this.updateProjectToStorage();
}
}
isShowingCreatable (props) {
return props.canCreateNew && props.isShowingWithoutId;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment