From 650a6dbdd050a15040ea56a018eea7302716a48e Mon Sep 17 00:00:00 2001 From: Md Asif Date: Sat, 21 Dec 2024 20:57:30 +0530 Subject: [PATCH] Refactor ToastProvider and CabinetMaintenance to streamline showToast usage --- src/components/Toast.jsx | 2 +- src/pages/CabinetMaintenance.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Toast.jsx b/src/components/Toast.jsx index 1073280..f8ce57c 100644 --- a/src/components/Toast.jsx +++ b/src/components/Toast.jsx @@ -45,7 +45,7 @@ export const ToastProvider = ({ children }) => { } return ( - + {children} {toast.show && (
{