From a7db0bac6fa42a47f05b9ef5fabc05656a347f08 Mon Sep 17 00:00:00 2001 From: Minseo Lee Date: Fri, 7 Mar 2025 02:46:09 +0900 Subject: Add context for toast messages (#7902) * add context for toast * add --- src/components/dms/ConvoMenu.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/dms/ConvoMenu.tsx') diff --git a/src/components/dms/ConvoMenu.tsx b/src/components/dms/ConvoMenu.tsx index 590f25dd3..8aa2335d0 100644 --- a/src/components/dms/ConvoMenu.tsx +++ b/src/components/dms/ConvoMenu.tsx @@ -173,9 +173,9 @@ function MenuContent({ const {mutate: muteConvo} = useMuteConvo(convoId, { onSuccess: data => { if (data.convo.muted) { - Toast.show(_(msg`Chat muted`)) + Toast.show(_(msg({message: 'Chat muted', context: 'toast'}))) } else { - Toast.show(_(msg`Chat unmuted`)) + Toast.show(_(msg({message: 'Chat unmuted', context: 'toast'}))) } }, onError: () => { -- cgit 1.4.1