remove redundant code
This commit is contained in:
parent
02d8107b50
commit
2558f0c392
1 changed files with 0 additions and 12 deletions
|
@ -410,18 +410,6 @@ class PublishPage extends React.PureComponent {
|
|||
this.onComponentFocused();
|
||||
}
|
||||
|
||||
if (publishFormValues) {
|
||||
if (publishFormValues.thumbnail && !this.state.uploadedThumbnailUri) {
|
||||
const { thumbnail } = publishFormValues;
|
||||
updatePublishFormState({ currentThumbnailUri: thumbnail, uploadedThumbnailUri: thumbnail });
|
||||
this.setState({
|
||||
currentThumbnailUri: thumbnail,
|
||||
uploadedThumbnailUri: thumbnail,
|
||||
uploadThumbnailStarted: false,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
this.state.currentPhase === Constants.PHASE_DETAILS &&
|
||||
prevDrawerStack[prevDrawerStack.length - 1].route === Constants.DRAWER_ROUTE_PUBLISH_FORM &&
|
||||
|
|
Loading…
Reference in a new issue