validate onSetProjectUnchanged and exclude from componentProps

This commit is contained in:
Ben Wheeler committed 2018-12-12 10:01:42 -05:00
1 parent b243f55c98
commit 2eff22f068
1 file changed
+2
+2
View File
@@ -81,6 +81,7 @@ const vmManagerHOC = function (WrappedComponent) {
isStarted,
onError: onErrorProp,
onLoadedProject: onLoadedProjectProp,
onSetProjectUnchanged,
projectData,
/* eslint-enable no-unused-vars */
isLoadingWithId: isLoadingWithIdProp,
@@ -106,6 +107,7 @@ const vmManagerHOC = function (WrappedComponent) {
loadingState: PropTypes.oneOf(LoadingStates),
onError: PropTypes.func,
onLoadedProject: PropTypes.func,
onSetProjectUnchanged: PropTypes.func,
projectData: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
projectId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
username: PropTypes.string,