diff --git a/src/components/home/Todo.tsx b/src/components/home/Todo.tsx index ed40b11..c696e93 100644 --- a/src/components/home/Todo.tsx +++ b/src/components/home/Todo.tsx @@ -16,6 +16,7 @@ import { LanguageKeys, noTodoMessage, } from "@/data/todoData"; +import { addTodoToast } from "@/data/toastMessagesData"; interface Todo { todoId: number; @@ -281,7 +282,7 @@ const Todo = () => { )} {showToast && ( setShowToast(false)} diff --git a/src/data/toastMessagesData.ts b/src/data/toastMessagesData.ts index 1ec7ce4..b4e59b2 100644 --- a/src/data/toastMessagesData.ts +++ b/src/data/toastMessagesData.ts @@ -6,3 +6,12 @@ export const ToastMessages = { vi: "Đã nộp", pi: "Nai-submit na", }; + +export const addTodoToast = { + ko: "할 일이 추가되었어요!", + en: "A task has been added!", + zh: "任务已添加!", + ja: "タスクが追加されました!", + vi: "Một công việc đã được thêm vào!", + pi: "Mayroong bagong gawain na idinagdag!", +};