removed unnecessary array

This commit is contained in:
Miodec 2022-01-14 12:25:47 +01:00
parent ccabc01ef3
commit 8ba3f40460

View file

@ -1,4 +1,4 @@
const notificationHistory = [];
// const notificationHistory = [];
let id = 0;
class Notification {
constructor(
@ -141,14 +141,14 @@ export function add(
customIcon,
clickCallback
) {
notificationHistory.push(
new Notification(
message,
level,
duration,
customTitle,
customIcon,
clickCallback
).show()
);
// notificationHistory.push(
new Notification(
message,
level,
duration,
customTitle,
customIcon,
clickCallback
).show();
// );
}