prevent page change by click on whitespace

This commit is contained in:
Barry Gitarts 2019-04-04 11:56:13 -04:00 committed by Barry G
parent d8c41c099f
commit 64de4a0cb6
1 changed files with 5 additions and 3 deletions

View File

@ -254,9 +254,11 @@ function Project({ classes, match, profile, transfers, pledges, projectAddedEven
<span className={classes.infoText}>{projectAge}</span>
<span className={classes.subtext}>days active</span>
</div>
<Link to={`/back-project/${projectId}`} className={classes.link}>
<Button color="primary" variant="contained" style={{ height: '50px', width: '100%' }}>Back this project</Button>
</Link>
<div>
<Link to={`/back-project/${projectId}`} className={classes.link}>
<Button color="primary" variant="contained" style={{ height: '50px', width: '100%' }}>Back this project</Button>
</Link>
</div>
</div>
</div>
</div>