mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
no need to pass title to embedded gui
This commit is contained in:
parent
2f5604d23d
commit
2a19bb283f
2 changed files with 2 additions and 1 deletions
|
@ -146,7 +146,6 @@ const PreviewPresentation = ({
|
||||||
previewInfoVisible="false"
|
previewInfoVisible="false"
|
||||||
projectHost={projectHost}
|
projectHost={projectHost}
|
||||||
projectId={projectId}
|
projectId={projectId}
|
||||||
projectTitle={projectInfo.title}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<FlexRow className="project-notes">
|
<FlexRow className="project-notes">
|
||||||
|
|
|
@ -362,7 +362,9 @@ class Preview extends React.Component {
|
||||||
className="gui"
|
className="gui"
|
||||||
projectHost={this.props.projectHost}
|
projectHost={this.props.projectHost}
|
||||||
projectId={this.state.projectId}
|
projectId={this.state.projectId}
|
||||||
|
projectTitle={this.props.projectInfo.title}
|
||||||
onClickLogout={this.handleLogout}
|
onClickLogout={this.handleLogout}
|
||||||
|
onUpdateProjectTitle={this.handleUpdateProjectTitle}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue