@@ -132,7 +132,7 @@ class SBFileUploader extends React.Component {
132
132
// This is necessary in case the user wants to reload a project
133
133
if ( filename ) {
134
134
const uploadedProjectTitle = this . getProjectTitleFromFilename ( filename ) ;
135
- this . props . updateReduxProjectTitle ( uploadedProjectTitle ) ;
135
+ this . props . onReceivedProjectTitle ( uploadedProjectTitle ) ;
136
136
}
137
137
this . resetFileInput ( ) ;
138
138
} )
@@ -182,7 +182,7 @@ SBFileUploader.propTypes = {
182
182
onLoadingStarted : PropTypes . func ,
183
183
projectChanged : PropTypes . bool ,
184
184
requestProjectUpload : PropTypes . func ,
185
- updateReduxProjectTitle : PropTypes . func ,
185
+ onReceivedProjectTitle : PropTypes . func ,
186
186
userOwnsProject : PropTypes . bool ,
187
187
vm : PropTypes . shape ( {
188
188
loadProject : PropTypes . func
@@ -211,7 +211,7 @@ const mapDispatchToProps = (dispatch, ownProps) => ({
211
211
} ,
212
212
requestProjectUpload : loadingState => dispatch ( requestProjectUpload ( loadingState ) ) ,
213
213
onLoadingStarted : ( ) => dispatch ( openLoadingProject ( ) ) ,
214
- updateReduxProjectTitle : title => dispatch ( setProjectTitle ( title ) )
214
+ onReceivedProjectTitle : title => dispatch ( setProjectTitle ( title ) )
215
215
} ) ;
216
216
217
217
// Allow incoming props to override redux-provided props. Used to mock in tests.
0 commit comments