[Update] Change the notification UI.
(Change the base notification library from MUI to React-Toastify.)
This commit is contained in:
1 parent
620085054b
commit
bcef981955
11 files changed
+308
-50
No files matched your search
@@ -35,8 +35,7 @@ export const useNotificationStatus = () => {
|
||||
});
|
||||
};
|
||||
|
||||
const closeNotification = (event, reason) => {
|
||||
if (reason === "clickaway") return;
|
||||
const closeNotification = () => {
|
||||
updateNotificationStatus((prev) => ({
|
||||
...prev.data,
|
||||
is_open: false,
|
||||
|
||||
Reference in new issue
Block a user