Skip to content

Commit

Permalink
fix(frontend): use correct path to user profile in request modal quot…
Browse files Browse the repository at this point in the history
…a dropdown (#1307)

* fix(frontend): use correct path to user profile in request modal quota dropdown

* fix(ui): add link transition duration
  • Loading branch information
TheCatLady committed Mar 28, 2021
1 parent c8f67cf commit f990585
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/RequestModal/QuotaDisplay/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,13 @@ const QuotaDisplay: React.FC<QuotaDisplayProps> = ({
ProfileLink: function ProfileLink(msg) {
return (
<Link
href={userOverride ? `/user/${userOverride}` : '/profile'}
href={
userOverride ? `/users/${userOverride}` : '/profile'
}
>
<a className="text-white hover:underline">{msg}</a>
<a className="text-white transition duration-300 hover:underline">
{msg}
</a>
</Link>
);
},
Expand Down

0 comments on commit f990585

Please sign in to comment.