File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -425,7 +425,6 @@ GUIComponent.defaultProps = {
425425 canEditTitle : false ,
426426 canManageFiles : true ,
427427 canRemix : false ,
428- canSave : false ,
429428 canCreateCopy : false ,
430429 canShare : false ,
431430 canUseCloud : false ,
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ const cloudManagerHOC = function (WrappedComponent) {
124124 }
125125
126126 CloudManager . propTypes = {
127- canSave : PropTypes . bool . isRequired ,
127+ canSave : PropTypes . bool ,
128128 cloudHost : PropTypes . string ,
129129 hasCloudPermission : PropTypes . bool ,
130130 hasEverEnteredEditor : PropTypes . bool ,
@@ -135,6 +135,14 @@ const cloudManagerHOC = function (WrappedComponent) {
135135 vm : PropTypes . instanceOf ( VM ) . isRequired
136136 } ;
137137
138+ CloudManager . defaultProps = {
139+ canSave : false ,
140+ cloudHost : null ,
141+ hasCloudPermission : false ,
142+ onShowCloudInfo : ( ) => { } ,
143+ username : null
144+ } ;
145+
138146 const mapStateToProps = state => {
139147 const loadingState = state . scratchGui . projectState . loadingState ;
140148 return {
You can’t perform that action at this time.
0 commit comments