This commit is contained in:
Mel O'Hagan 2022-07-20 13:55:12 +01:00
parent cc5920da12
commit 3b1edf2bdb
1 changed files with 3 additions and 2 deletions

View File

@ -50,8 +50,9 @@ const createNotificationStore = () => {
icon,
dismissable: !autoDismiss,
delay: get(store) != null,
}
]})
},
]
})
if (autoDismiss) {
const timeoutId = setTimeout(() => {
dismiss(_id)