Skip to content

Commit ca8dbbf

Browse files
committed
add back the glossary tooltip links to the Translation component
1 parent 5089c1c commit ca8dbbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Translation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useTranslation } from "next-i18next"
55

66
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
77

8-
import InlineLink from "./Link"
8+
import TooltipLink from "./TooltipLink"
99

1010
type TranslationProps = {
1111
id: string
@@ -16,7 +16,7 @@ type TranslationProps = {
1616
// Custom components mapping to be used by `htmr` when parsing the translation
1717
// text
1818
const defaultTransform = {
19-
a: InlineLink,
19+
a: TooltipLink,
2020
}
2121

2222
// Renders the translation string for the given translation key `id`. It

0 commit comments

Comments
 (0)