mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-28 10:07:59 -05:00
deploy to staging
This commit is contained in:
parent
82cadf1a7b
commit
409dfbdc36
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ class Preview extends React.Component {
|
||||||
this.loadProjectData(this.state.projectId, true /* Show cloud/username alerts */);
|
this.loadProjectData(this.state.projectId, true /* Show cloud/username alerts */);
|
||||||
}
|
}
|
||||||
if (this.state.projectId === '0' && this.state.projectId !== prevState.projectId) {
|
if (this.state.projectId === '0' && this.state.projectId !== prevState.projectId) {
|
||||||
this.setState({isNewProject: true}); // eslint-disable-line react/no-did-update-set-state
|
this.setState({isNewProject: true}); // eslint-disable-line react/no-did-update-set-state
|
||||||
this.props.resetProject();
|
this.props.resetProject();
|
||||||
if (this.state.justRemixed || this.state.justShared) {
|
if (this.state.justRemixed || this.state.justShared) {
|
||||||
this.setState({ // eslint-disable-line react/no-did-update-set-state
|
this.setState({ // eslint-disable-line react/no-did-update-set-state
|
||||||
|
|
Loading…
Reference in a new issue