updates discord readme link

This commit is contained in:
Christian Beutel
2025-02-14 17:10:56 +01:00
parent 7a619e117e
commit bb26e8ee9b
2 changed files with 2 additions and 4 deletions

View File

@@ -24,8 +24,6 @@ export function show_toast(newToast: Toast, duration: number = 3000) {
}
export function closeToast(toast: Toast) {
const toastIndex = toastStore.toasts.findIndex(t => t.id == toast.id)
console.log(toastIndex);
const toastIndex = toastStore.toasts.findIndex(t => t.id == toast.id)
toastStore.toasts.splice(toastIndex, 1)
}