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

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

* fix(ui): add link transition duration
pull/1235/head
TheCatLady 4 years ago committed by GitHub
parent c8f67cf866
commit f990585914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>
);
},

Loading…
Cancel
Save