Merge branch 'feature/debug_userinfo' into 'develop'

debug warning notification

See merge request witel3/loan-facilities-expert!47
This commit is contained in:
yasaman aliakbari
2023-07-23 11:28:57 +00:00
3 changed files with 5 additions and 3 deletions

View File

@@ -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": "وارد کردن توضیحات الزامی است!"
},

View File

@@ -4,7 +4,7 @@ import { toast } from "react-toastify";
const ErrorNotification = (directionApp, status, t, message) => {
toast(
({ closeToast }) => (
() => (
<>
<Box
sx={{

View File

@@ -2,9 +2,9 @@ import ReportIcon from "@mui/icons-material/Report";
import { Box, Divider, Typography } from "@mui/material";
import { toast } from "react-toastify";
const WarningNotification = (directionApp, t, status) => {
const WarningNotification = (directionApp, status, t) => {
toast(
({ closeToast }) => (
() => (
<>
<Box
sx={{