deploy to staging

This commit is contained in:
tomlum 2022-06-06 09:47:03 -04:00
parent 82cadf1a7b
commit 409dfbdc36

View file

@ -154,7 +154,7 @@ class Preview extends React.Component {
this.loadProjectData(this.state.projectId, true /* Show cloud/username alerts */);
}
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();
if (this.state.justRemixed || this.state.justShared) {
this.setState({ // eslint-disable-line react/no-did-update-set-state