updates discord readme link
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
[](https://github.com/Flomp/wanderer/)
|
[](https://github.com/Flomp/wanderer/)
|
||||||
[](https://github.com/Flomp/wanderer/)
|
[](https://github.com/Flomp/wanderer/)
|
||||||
[](https://www.buymeacoffee.com/wanderertrails)
|
[](https://www.buymeacoffee.com/wanderertrails)
|
||||||
[](https://discord.gg/MdpybUHc)
|
[](https://discord.gg/Ew6Bkrbg)
|
||||||
|
|
||||||
[](https://demo.wanderer.to)
|
[](https://demo.wanderer.to)
|
||||||
|
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ export function show_toast(newToast: Toast, duration: number = 3000) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function closeToast(toast: Toast) {
|
export function closeToast(toast: Toast) {
|
||||||
const toastIndex = toastStore.toasts.findIndex(t => t.id == toast.id)
|
const toastIndex = toastStore.toasts.findIndex(t => t.id == toast.id)
|
||||||
console.log(toastIndex);
|
|
||||||
|
|
||||||
toastStore.toasts.splice(toastIndex, 1)
|
toastStore.toasts.splice(toastIndex, 1)
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user