From a95b7d6b4a2db3d44b4f5e6fa7c2c6a7114df6f9 Mon Sep 17 00:00:00 2001 From: indyteo Date: Tue, 2 Nov 2021 10:21:36 +0100 Subject: [PATCH] fix: translation function to component in ShowPost page notification --- public/pages/ShowPost/ShowPost.page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/pages/ShowPost/ShowPost.page.tsx b/public/pages/ShowPost/ShowPost.page.tsx index c6a27fc11..8690b378d 100644 --- a/public/pages/ShowPost/ShowPost.page.tsx +++ b/public/pages/ShowPost/ShowPost.page.tsx @@ -32,7 +32,7 @@ import IconX from "@fider/assets/images/heroicons-x.svg" import IconPencilAlt from "@fider/assets/images/heroicons-pencil-alt.svg" import IconCheck from "@fider/assets/images/heroicons-check.svg" import { HStack, VStack } from "@fider/components/layout" -import { t, Trans } from "@lingui/macro" +import { Trans } from "@lingui/macro" interface ShowPostPageProps { post: Post @@ -133,7 +133,7 @@ export default class ShowPostPage extends React.ComponentUnknown comment ID #{id}) highlightedComment = undefined } }