diff --git a/public/locales/fa/app.json b/public/locales/fa/app.json index 2beb76f..48be747 100644 --- a/public/locales/fa/app.json +++ b/public/locales/fa/app.json @@ -157,6 +157,7 @@ "confirm": "تایید", "context": "آیا از تایید این آیتم اطمینان دارید؟", "button-cancel": "بستن", + "button-confirm": "تایید", "amount_error": "وارد کردن مقدار پیشنهادی الزامیست", "description_error": "وارد کردن توضیحات الزامی است!", "description": "توضیحات", @@ -169,6 +170,7 @@ "reject": "عدم تایید", "context": "آیا از عدم تایید این آیتم اطمینان دارید؟", "button-cancel": "بستن", + "button-reject": "عدم تایید", "description": "توضیحات", "description_error": "وارد کردن توضیحات الزامی است!" }, diff --git a/src/core/components/notifications/ErrorNotification.jsx b/src/core/components/notifications/ErrorNotification.jsx index 6fb64d8..f0c887d 100644 --- a/src/core/components/notifications/ErrorNotification.jsx +++ b/src/core/components/notifications/ErrorNotification.jsx @@ -4,7 +4,7 @@ import { toast } from "react-toastify"; const ErrorNotification = (directionApp, status, t, message) => { toast( - ({ closeToast }) => ( + () => ( <> { +const WarningNotification = (directionApp, status, t) => { toast( - ({ closeToast }) => ( + () => ( <>