Skip to content
Snippets Groups Projects
Commit 2eff22f0 authored by Ben Wheeler's avatar Ben Wheeler
Browse files

validate onSetProjectUnchanged and exclude from componentProps

parent b243f55c
No related branches found
No related tags found
No related merge requests found
...@@ -81,6 +81,7 @@ const vmManagerHOC = function (WrappedComponent) { ...@@ -81,6 +81,7 @@ const vmManagerHOC = function (WrappedComponent) {
isStarted, isStarted,
onError: onErrorProp, onError: onErrorProp,
onLoadedProject: onLoadedProjectProp, onLoadedProject: onLoadedProjectProp,
onSetProjectUnchanged,
projectData, projectData,
/* eslint-enable no-unused-vars */ /* eslint-enable no-unused-vars */
isLoadingWithId: isLoadingWithIdProp, isLoadingWithId: isLoadingWithIdProp,
...@@ -106,6 +107,7 @@ const vmManagerHOC = function (WrappedComponent) { ...@@ -106,6 +107,7 @@ const vmManagerHOC = function (WrappedComponent) {
loadingState: PropTypes.oneOf(LoadingStates), loadingState: PropTypes.oneOf(LoadingStates),
onError: PropTypes.func, onError: PropTypes.func,
onLoadedProject: PropTypes.func, onLoadedProject: PropTypes.func,
onSetProjectUnchanged: PropTypes.func,
projectData: PropTypes.oneOfType([PropTypes.object, PropTypes.string]), projectData: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
projectId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), projectId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
username: PropTypes.string, username: PropTypes.string,
......
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