refac: update toast dismiss behaviour

This commit is contained in:
Timothy J. Baek
2024-09-25 20:47:04 +02:00
parent 119a7f1933
commit 888479aaf0
2 changed files with 13 additions and 2 deletions
@@ -35,6 +35,7 @@
class=" hover:text-blue-900 dark:hover:text-blue-300 transition"
on:click={() => {
console.log('closeToast');
localStorage.setItem('dismissedUpdateToast', Date.now().toString());
dispatch('closeToast');
}}
>