Skip to content

Commit 28f4cc7

Browse files
authored
Merge pull request scratchfoundation#5343 from taybenlor/develop
Fix `doneUpdatingProject` call signature
2 parents fa5cfb4 + 6027bb9 commit 28f4cc7

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)