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/state/queries/notifications/settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/state/queries/notifications') diff --git a/src/state/queries/notifications/settings.ts b/src/state/queries/notifications/settings.ts index e552b6520..2ac42aa32 100644 --- a/src/state/queries/notifications/settings.ts +++ b/src/state/queries/notifications/settings.ts @@ -41,7 +41,7 @@ export function useNotificationSettingsMutation() { ) }, onSuccess: () => { - Toast.show(_(msg`Preference saved`)) + Toast.show(_(msg({message: 'Preference saved', context: 'toast'}))) }, onSettled: () => { invalidateCachedUnreadPage() -- cgit 1.4.1