From 0babf71f8c622febb085dd11ee797ae9cf7d5c20 Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Sun, 1 Sep 2024 19:57:26 +0200 Subject: [PATCH] remove dot after reason https://github.com/plebbit/plebchan/issues/487#issuecomment-2323114180 --- src/components/post-desktop/post-desktop.tsx | 4 ++-- src/components/post-mobile/post-mobile.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/post-desktop/post-desktop.tsx b/src/components/post-desktop/post-desktop.tsx index 728dec87..9d41506f 100644 --- a/src/components/post-desktop/post-desktop.tsx +++ b/src/components/post-desktop/post-desktop.tsx @@ -298,7 +298,7 @@ const PostMessage = ({ post }: PostProps) => { ({t('this_post_was_removed')})

- {`${_.capitalize(t('reason'))}: "${reason}"`}. + {`${_.capitalize(t('reason'))}: "${reason}"`} ) : ( {_.capitalize(t('this_post_was_removed'))}. @@ -307,7 +307,7 @@ const PostMessage = ({ post }: PostProps) => { reason ? ( <> {t('user_deleted_this_post')}{' '} - {`${_.capitalize(t('reason'))}: "${reason}"`}. + {`${_.capitalize(t('reason'))}: "${reason}"`} ) : ( {t('user_deleted_this_post')} diff --git a/src/components/post-mobile/post-mobile.tsx b/src/components/post-mobile/post-mobile.tsx index b1ed07fd..78a5ad24 100644 --- a/src/components/post-mobile/post-mobile.tsx +++ b/src/components/post-mobile/post-mobile.tsx @@ -221,7 +221,7 @@ const PostMessageMobile = ({ post }: PostProps) => { ({t('this_post_was_removed')})

- {`${_.capitalize(t('reason'))}: "${reason}"`}. + {`${_.capitalize(t('reason'))}: "${reason}"`} ) : ( {_.capitalize(t('this_post_was_removed'))}. @@ -230,7 +230,7 @@ const PostMessageMobile = ({ post }: PostProps) => { reason ? ( <> {t('user_deleted_this_post')}{' '} - {`${_.capitalize(t('reason'))}: "${reason}"`}. + {`${_.capitalize(t('reason'))}: "${reason}"`} ) : ( {t('user_deleted_this_post')}