X-Git-Url: http://these/git/?a=blobdiff_plain;f=src%2Fshared%2Futils.ts;h=6e3856579e890cdc1a34bd9387d2db10c8d1a59f;hb=4b6851d246dd2c7cc173cda4d5813f0c64a0ea13;hp=f1f9c7f1d68302d58f46f8537bbae13fb5a2f09e;hpb=96827a0dc94c1e209e31698bfd9c3ee0a426b6a1;p=lemmy-ui.git diff --git a/src/shared/utils.ts b/src/shared/utils.ts index f1f9c7f..6e38565 100644 --- a/src/shared/utils.ts +++ b/src/shared/utils.ts @@ -491,6 +491,7 @@ export function toast(text: string, background = "success") { backgroundColor: backgroundColor, gravity: "bottom", position: "left", + duration: 5000, }).showToast(); } }