mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -05:00
Remove userOwnsProject because it is unused
This commit is contained in:
parent
5d409bcdcf
commit
551cc0cc13
2 changed files with 0 additions and 3 deletions
|
@ -114,7 +114,6 @@ const PreviewPresentation = ({
|
|||
showAdminPanel,
|
||||
showModInfo,
|
||||
singleCommentId,
|
||||
userOwnsProject,
|
||||
visibilityInfo
|
||||
}) => {
|
||||
const shareDate = ((projectInfo.history && projectInfo.history.shared)) ? projectInfo.history.shared : '';
|
||||
|
@ -654,7 +653,6 @@ PreviewPresentation.propTypes = {
|
|||
showAdminPanel: PropTypes.bool,
|
||||
showModInfo: PropTypes.bool,
|
||||
singleCommentId: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]),
|
||||
userOwnsProject: PropTypes.bool,
|
||||
visibilityInfo: PropTypes.shape({
|
||||
censored: PropTypes.bool,
|
||||
message: PropTypes.string,
|
||||
|
|
|
@ -579,7 +579,6 @@ class Preview extends React.Component {
|
|||
showAdminPanel={this.props.isAdmin}
|
||||
showModInfo={this.props.isAdmin}
|
||||
singleCommentId={this.state.singleCommentId}
|
||||
userOwnsProject={this.props.userOwnsProject}
|
||||
visibilityInfo={this.props.visibilityInfo}
|
||||
onAddComment={this.handleAddComment}
|
||||
onAddToStudioClicked={this.handleAddToStudioClick}
|
||||
|
|
Loading…
Reference in a new issue