Skip to content

Commit

Permalink
fix: User Profile header link should be nextjs Link
Browse files Browse the repository at this point in the history
  • Loading branch information
kriscooke committed Jun 30, 2020
1 parent c9de941 commit e5a4cec
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions app/components/Layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,9 @@ const HeaderLayout = ({isLoggedIn = false, isRegistered = false}) => (
<Form.Row>
{isRegistered && (
<Col>
<a
href="/user/profile"
className="btn btn-outline-light"
>
Profile
</a>
<Link href="/user/profile">
<a className="btn btn-outline-light">Profile</a>
</Link>
</Col>
)}
<Col>
Expand Down

0 comments on commit e5a4cec

Please sign in to comment.