Remove userOwnsProject because it is unused

This commit is contained in:
Paul Kaplan 2018-12-07 16:09:34 -05:00
parent 5d409bcdcf
commit 551cc0cc13
2 changed files with 0 additions and 3 deletions

View file

@ -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,

View file

@ -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}