add link to edit project

This commit is contained in:
Barry Gitarts 2019-11-27 14:15:50 -05:00 committed by Barry G
parent 89f7ab0860
commit 57132ab962
1 changed files with 3 additions and 1 deletions

View File

@ -235,7 +235,9 @@ const SubmissionSection = ({ classes, projectData, projectId, profileData, start
/> />
</div>} </div>}
{manifest && <div className={classnames(secondHalf)}> {manifest && <div className={classnames(secondHalf)}>
<div className={classes.edit}>{isCreator ? 'Edit' : ''}</div> <Link to={`/update-project/${projectId}`} className={classes.link}>
<div className={classes.edit}>{isCreator ? 'Edit' : ''}</div>
</Link>
<Typography className={classes.projectTitle} component="h2" gutterBottom> <Typography className={classes.projectTitle} component="h2" gutterBottom>
{`${totalPledged.toLocaleString()} ${tokenLabel}`} pledged {`${totalPledged.toLocaleString()} ${tokenLabel}`} pledged
</Typography> </Typography>