Merge pull request #6823 from LLK/revert-6822-fixes-create-project-token

Revert "Adds check for newly created project to not require token"
This commit is contained in:
picklesrus 2022-05-24 17:00:35 -04:00 committed by GitHub
commit 0b68a9269e
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}