We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf42a35 commit 168437bCopy full SHA for 168437b
packages/scratch-gui/src/lib/project-saver-hoc.jsx
@@ -61,7 +61,7 @@ const ProjectSaverHOC = function (WrappedComponent) {
61
// Allow the GUI consumer to pass in a function to receive a trigger
62
// for triggering thumbnail or whole project saves.
63
// These functions are called with null on unmount to prevent stale references.
64
- this.props.onSetProjectThumbnailer((callback) => getProjectThumbnail(this.props.vm, callback));
+ this.props.onSetProjectThumbnailer(callback => getProjectThumbnail(this.props.vm, callback));
65
this.props.onSetProjectSaver(this.tryToAutoSave);
66
}
67
componentDidUpdate (prevProps) {
0 commit comments