fix profile link url (#353)
This commit is contained in:
parent
d1ba279e6f
commit
41e3ae18ce
|
@ -337,7 +337,10 @@ export default function Account() {
|
||||||
{pubkey && mangoAccount ? (
|
{pubkey && mangoAccount ? (
|
||||||
profileData && !loadProfileDetails ? (
|
profileData && !loadProfileDetails ? (
|
||||||
<Link
|
<Link
|
||||||
href={`/profile?pk=${mangoAccount.owner.toString()}`}
|
href={`/profile?name=${profileData?.profile_name.replace(
|
||||||
|
/\s/g,
|
||||||
|
'-'
|
||||||
|
)}`}
|
||||||
shallow={true}
|
shallow={true}
|
||||||
>
|
>
|
||||||
<a className="default-transition mt-2 flex items-center space-x-2 text-th-fgd-3 hover:text-th-fgd-2">
|
<a className="default-transition mt-2 flex items-center space-x-2 text-th-fgd-3 hover:text-th-fgd-2">
|
||||||
|
|
Loading…
Reference in New Issue