fix: Old username link on org user's profile. (#13753)

This commit is contained in:
Hariom Balhara
2024-02-19 19:09:11 +00:00
committed by GitHub
parent e436b8e06b
commit 05502f0cfb
@@ -155,7 +155,7 @@ export function UserPage(props: InferGetServerSidePropsType<typeof getServerSide
<Link
prefetch={false}
href={{
pathname: `/${user.username}/${type.slug}`,
pathname: `/${user.profile.username}/${type.slug}`,
query,
}}
passHref