This commit is contained in:
Mel O'Hagan 2022-07-20 13:55:12 +01:00
parent 63d3f0117e
commit 3acdeeea81
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)