Skip to content

Commit 94242ce

Browse files
committed
fix: use Translation component for htmr string
1 parent 06cca57 commit 94242ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/FeedbackCard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ import { Flex, type FlexProps, Heading } from "@chakra-ui/react"
55

66
import { Button } from "@/components/Buttons"
77
import { FeedbackThumbsUpIcon } from "@/components/icons"
8-
import Link from "@/components/Link"
98

109
import { trackCustomEvent } from "@/lib/utils/matomo"
1110

11+
import Translation from "./Translation"
12+
1213
import { useSurvey } from "@/hooks/useSurvey"
1314

1415
type FeedbackCardProps = FlexProps & {
@@ -74,8 +75,7 @@ const FeedbackCard = ({ prompt, isArticle, ...props }: FeedbackCardProps) => {
7475
{feedbackSubmitted && (
7576
<p>
7677
{t("feedback-widget-thank-you-subtitle")}{" "}
77-
{t("feedback-widget-thank-you-subtitle-ext")}{" "}
78-
<Link href="/discord/">Discord</Link>.
78+
<Translation id="feedback-widget-thank-you-subtitle-ext" />
7979
</p>
8080
)}
8181
<Flex gap="4">

0 commit comments

Comments
 (0)