diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2025-03-07 02:46:09 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-06 11:46:09 -0600 |
commit | a7db0bac6fa42a47f05b9ef5fabc05656a347f08 (patch) | |
tree | b44c29f5fb428f6aa353984fc5c930547ec85e16 /src/view/com/modals/CreateOrEditList.tsx | |
parent | 29eef6188ae4c00006ae759e1b3815b8bd091a87 (diff) | |
download | voidsky-a7db0bac6fa42a47f05b9ef5fabc05656a347f08.tar.zst |
Add context for toast messages (#7902)
* add context for toast * add
Diffstat (limited to 'src/view/com/modals/CreateOrEditList.tsx')
-rw-r--r-- | src/view/com/modals/CreateOrEditList.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/view/com/modals/CreateOrEditList.tsx b/src/view/com/modals/CreateOrEditList.tsx index a9acd4c62..3a1678954 100644 --- a/src/view/com/modals/CreateOrEditList.tsx +++ b/src/view/com/modals/CreateOrEditList.tsx @@ -159,8 +159,8 @@ export function Component({ }) Toast.show( isCurateList - ? _(msg`User list updated`) - : _(msg`Moderation list updated`), + ? _(msg({message: 'User list updated', context: 'toast'})) + : _(msg({message: 'Moderation list updated', context: 'toast'})), ) onSave?.(list.uri) } else { @@ -173,8 +173,8 @@ export function Component({ }) Toast.show( isCurateList - ? _(msg`User list created`) - : _(msg`Moderation list created`), + ? _(msg({message: 'User list created', context: 'toast'})) + : _(msg({message: 'Moderation list created', context: 'toast'})), ) onSave?.(res.uri) } |