about summary refs log tree commit diff
path: root/src/components/dms/ReportDialog.tsx
diff options
context:
space:
mode:
authorMinseo Lee <itoupluk427@gmail.com>2025-03-07 02:46:09 +0900
committerGitHub <noreply@github.com>2025-03-06 11:46:09 -0600
commita7db0bac6fa42a47f05b9ef5fabc05656a347f08 (patch)
treeb44c29f5fb428f6aa353984fc5c930547ec85e16 /src/components/dms/ReportDialog.tsx
parent29eef6188ae4c00006ae759e1b3815b8bd091a87 (diff)
downloadvoidsky-a7db0bac6fa42a47f05b9ef5fabc05656a347f08.tar.zst
Add context for toast messages (#7902)
* add context for toast

* add
Diffstat (limited to 'src/components/dms/ReportDialog.tsx')
-rw-r--r--src/components/dms/ReportDialog.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/dms/ReportDialog.tsx b/src/components/dms/ReportDialog.tsx
index c1ea854f9..e4c37c7b5 100644
--- a/src/components/dms/ReportDialog.tsx
+++ b/src/components/dms/ReportDialog.tsx
@@ -315,13 +315,13 @@ function DoneStep({
   let toastMsg: string | undefined
   if (actions.includes('leave') && actions.includes('block')) {
     btnText = _(msg`Block and Delete`)
-    toastMsg = _(msg`Conversation deleted`)
+    toastMsg = _(msg({message: 'Conversation deleted', context: 'toast'}))
   } else if (actions.includes('leave')) {
     btnText = _(msg`Delete Conversation`)
-    toastMsg = _(msg`Conversation deleted`)
+    toastMsg = _(msg({message: 'Conversation deleted', context: 'toast'}))
   } else if (actions.includes('block')) {
     btnText = _(msg`Block User`)
-    toastMsg = _(msg`User blocked`)
+    toastMsg = _(msg({message: 'User blocked', context: 'toast'}))
   }
 
   const onPressPrimaryAction = () => {