From 78f12e072dd7729e16191525a3a7162b0ebe31c5 Mon Sep 17 00:00:00 2001 From: Aayush Date: Thu, 14 Nov 2024 22:43:08 +0530 Subject: [PATCH] Fixed notification style --- src/components/ToastContextProvider.jsx | 2 +- src/components/toaster/Toast.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ToastContextProvider.jsx b/src/components/ToastContextProvider.jsx index 7311ec8..822540f 100644 --- a/src/components/ToastContextProvider.jsx +++ b/src/components/ToastContextProvider.jsx @@ -17,7 +17,7 @@ export const ToastProvider = ({ children }) => { return ( -
+
{toasts.map((toast) => ( removeToast(toast.id)} /> ))} diff --git a/src/components/toaster/Toast.jsx b/src/components/toaster/Toast.jsx index 29a42df..02e5409 100644 --- a/src/components/toaster/Toast.jsx +++ b/src/components/toaster/Toast.jsx @@ -10,7 +10,7 @@ const Toast = ({ message, onClose, success }) => { }, []) return ( -
+