Skip to content
Snippets Groups Projects
Commit 6027bb90 authored by Ben Taylor's avatar Ben Taylor
Browse files

Fix `doneUpdatingProject` call signature

ProjectSaverHOC has been using the wrong call signature for `doneUpdatingProject` and `onUpdatedProject`.
parent 5e4a2b78
No related branches found
No related tags found
No related merge requests found
...@@ -433,7 +433,7 @@ const ProjectSaverHOC = function (WrappedComponent) { ...@@ -433,7 +433,7 @@ const ProjectSaverHOC = function (WrappedComponent) {
onShowCreatingRemixAlert: () => showAlertWithTimeout(dispatch, 'creatingRemix'), onShowCreatingRemixAlert: () => showAlertWithTimeout(dispatch, 'creatingRemix'),
onShowSaveSuccessAlert: () => showAlertWithTimeout(dispatch, 'saveSuccess'), onShowSaveSuccessAlert: () => showAlertWithTimeout(dispatch, 'saveSuccess'),
onShowSavingAlert: () => showAlertWithTimeout(dispatch, 'saving'), onShowSavingAlert: () => showAlertWithTimeout(dispatch, 'saving'),
onUpdatedProject: (projectId, loadingState) => dispatch(doneUpdatingProject(projectId, loadingState)), onUpdatedProject: loadingState => dispatch(doneUpdatingProject(loadingState)),
setAutoSaveTimeoutId: id => dispatch(setAutoSaveTimeoutId(id)) setAutoSaveTimeoutId: id => dispatch(setAutoSaveTimeoutId(id))
}); });
// Allow incoming props to override redux-provided props. Used to mock in tests. // Allow incoming props to override redux-provided props. Used to mock in tests.
......
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