Revert "Adds check for newly created project to not require token"

This commit is contained in:
picklesrus 2022-05-24 16:59:46 -04:00 committed by GitHub
parent 7062a5f170
commit 979022e372
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -833,9 +833,7 @@ class Preview extends React.Component {
/>
</Page> :
<React.Fragment>
{(parseInt(this.state.projectId, 10) === 0 ||
(this.props.projectInfo && this.props.projectInfo.project_token)) &&
(
{this.props.projectInfo && this.props.projectInfo.project_token && (
<IntlGUI
assetHost={this.props.assetHost}
authorId={this.props.authorId}