Make link relative to root (#5218)

Co-authored-by: alannnc <alannnc@gmail.com>
This commit is contained in:
Hariom Balhara
2022-10-26 21:29:09 +00:00
committed by GitHub
co-authored by alannnc
parent cddcd742f6
commit 63ce4a68ac
+1 -1
View File
@@ -51,7 +51,7 @@ function TeamPage({ team }: TeamPageProps) {
"dark:bg-darkgray-100 dark:border-darkgray-200 group relative rounded-sm border border-neutral-200 bg-white hover:bg-gray-50 dark:hover:border-neutral-600",
!isEmbed && "bg-white"
)}>
<Link href={`${team.slug}/${type.slug}`}>
<Link href={`/team/${team.slug}/${type.slug}`}>
<a className="flex justify-between px-6 py-4" data-testid="event-type-link">
<div className="flex-shrink">
<div className="flex flex-wrap items-center space-x-2">