mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-14 15:09:59 -04:00
passes correct token to gui
This commit is contained in:
parent
4319820a72
commit
316db7f4e8
1 changed files with 1 additions and 2 deletions
|
@ -856,7 +856,7 @@ class Preview extends React.Component {
|
|||
hasCloudPermission={this.props.isScratcher}
|
||||
isShared={this.props.isShared}
|
||||
projectHost={this.props.projectHost}
|
||||
projectToken={this.props.projectToken}
|
||||
projectToken={this.props.projectInfo.project_token}
|
||||
projectId={this.state.projectId}
|
||||
projectTitle={this.props.projectInfo.title}
|
||||
renderLogin={this.renderLogin}
|
||||
|
@ -953,7 +953,6 @@ Preview.propTypes = {
|
|||
parent: projectShape,
|
||||
playerMode: PropTypes.bool,
|
||||
projectHost: PropTypes.string.isRequired,
|
||||
projectToken: PropTypes.string.isRequired,
|
||||
projectInfo: projectShape,
|
||||
projectNotAvailable: PropTypes.bool,
|
||||
projectStudios: PropTypes.arrayOf(PropTypes.object),
|
||||
|
|
Loading…
Reference in a new issue