[Update] Change the notification UI.
(Change the base notification library from MUI to React-Toastify.)
This commit is contained in:
@@ -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