From 13026c4f3b36bd8490c36e6cdc8d114e93c7e135 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Sat, 30 Apr 2022 16:51:52 +0800
Subject: ...

---
 FrontEnd/src/views/timeline/TimelineDeleteDialog.tsx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'FrontEnd/src/views/timeline/TimelineDeleteDialog.tsx')

diff --git a/FrontEnd/src/views/timeline/TimelineDeleteDialog.tsx b/FrontEnd/src/views/timeline/TimelineDeleteDialog.tsx
index 1b7a2cc1..5b57b0c4 100644
--- a/FrontEnd/src/views/timeline/TimelineDeleteDialog.tsx
+++ b/FrontEnd/src/views/timeline/TimelineDeleteDialog.tsx
@@ -25,8 +25,11 @@ const TimelineDeleteDialog: React.FC<TimelineDeleteDialog> = (props) => {
       themeColor="danger"
       inputPrompt={() => {
         return (
-          <Trans i18nKey="timeline.deleteDialog.inputPrompt">
-            0<code className="mx-2">{{ name: timeline.nameV2 }}</code>2
+          <Trans
+            i18nKey="timeline.deleteDialog.inputPrompt"
+            values={[{ name: timeline.nameV2 }]}
+          >
+            0<code className="mx-2">1</code>2
           </Trans>
         );
       }}
-- 
cgit v1.2.3

