From 33526cdb9e2ea026eb46103b6d0cbfe995cc3533 Mon Sep 17 00:00:00 2001 From: AmbrishRamachandiran Date: Fri, 28 Jul 2023 20:11:22 +0530 Subject: [PATCH] Limit the use of the same shortcut name when adding a shortcut- error message changed Signed-off-by: AmbrishRamachandiran --- plugins/shortcuts/src/ShortcutForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/shortcuts/src/ShortcutForm.tsx b/plugins/shortcuts/src/ShortcutForm.tsx index f8a53620ee..f5c5152ff7 100644 --- a/plugins/shortcuts/src/ShortcutForm.tsx +++ b/plugins/shortcuts/src/ShortcutForm.tsx @@ -69,7 +69,7 @@ export const ShortcutForm = ({ const titleIsUnique = async (title: string) => { if (shortcutData.some(shortcutTitle => shortcutTitle.title === title)) - return 'This title name is already exist'; + return 'A shortcut with this title already exists'; return true; };