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/screens/Profile/Header/ProfileHeaderStandard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/screens/Profile/Header/ProfileHeaderStandard.tsx') diff --git a/src/screens/Profile/Header/ProfileHeaderStandard.tsx b/src/screens/Profile/Header/ProfileHeaderStandard.tsx index b2de78515..a6b1376aa 100644 --- a/src/screens/Profile/Header/ProfileHeaderStandard.tsx +++ b/src/screens/Profile/Header/ProfileHeaderStandard.tsx @@ -134,7 +134,7 @@ let ProfileHeaderStandard = ({ const unblockAccount = React.useCallback(async () => { try { await queueUnblock() - Toast.show(_(msg`Account unblocked`)) + Toast.show(_(msg({message: 'Account unblocked', context: 'toast'}))) } catch (e: any) { if (e?.name !== 'AbortError') { logger.error('Failed to unblock account', {message: e}) -- cgit 1.4.1