debug warning notification

This commit is contained in:
2023-07-23 14:55:48 +03:30
parent 3899101259
commit c2019c04b4
3 changed files with 5 additions and 3 deletions

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={{