mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2025-12-16 02:08:47 +00:00
Fix edit profile button link
This commit is contained in:
parent
7a6ac8499c
commit
9372a092ad
@ -216,9 +216,11 @@ class user extends Component {
|
|||||||
// showing the logged in users profile, instead of retreiving the
|
// showing the logged in users profile, instead of retreiving the
|
||||||
// profile based on the URL entered
|
// profile based on the URL entered
|
||||||
let editButtonMarkup = true ? (
|
let editButtonMarkup = true ? (
|
||||||
|
<Link to="/edit">
|
||||||
<Button className={classes.button} variant="outlined" color="primary">
|
<Button className={classes.button} variant="outlined" color="primary">
|
||||||
Edit Profile
|
Edit Profile
|
||||||
</Button>
|
</Button>
|
||||||
|
</Link>
|
||||||
) : null;
|
) : null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user