Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
Fixed 404 error when refreshing users profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Akasiek committed Mar 17, 2022
1 parent d8881fb commit 156d964
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions react/src/components/profilePage/profilePageHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const StyledProfilePageHeader = styled.div`
text-decoration: underline;
}
}
}
}
.formLinkContainer {
div {
Expand Down Expand Up @@ -161,7 +161,7 @@ const StyledProfilePageHeader = styled.div`
.favArtistContainer > a {
text-decoration: underline;
}
}
}
}
`;
Expand Down Expand Up @@ -231,7 +231,7 @@ const ProfilePageHeader = ({ reviewer }) => {
</p>
</div>
)}
{currentReviewer.id === reviewer.id && (
{currentReviewer?.id === reviewer.id && (
<div className="formLinkContainer">
<FormLink label="User Settings" url="/settings" />
</div>
Expand Down

0 comments on commit 156d964

Please sign in to comment.