Skip to content

Commit 6027bb9

Browse files
committed
Fix doneUpdatingProject call signature
ProjectSaverHOC has been using the wrong call signature for `doneUpdatingProject` and `onUpdatedProject`.
1 parent 5e4a2b7 commit 6027bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/project-saver-hoc.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ const ProjectSaverHOC = function (WrappedComponent) {
433433
onShowCreatingRemixAlert: () => showAlertWithTimeout(dispatch, 'creatingRemix'),
434434
onShowSaveSuccessAlert: () => showAlertWithTimeout(dispatch, 'saveSuccess'),
435435
onShowSavingAlert: () => showAlertWithTimeout(dispatch, 'saving'),
436-
onUpdatedProject: (projectId, loadingState) => dispatch(doneUpdatingProject(projectId, loadingState)),
436+
onUpdatedProject: loadingState => dispatch(doneUpdatingProject(loadingState)),
437437
setAutoSaveTimeoutId: id => dispatch(setAutoSaveTimeoutId(id))
438438
});
439439
// Allow incoming props to override redux-provided props. Used to mock in tests.

0 commit comments

Comments
 (0)