]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/utils.ts
Merge branch 'main' into custom-emojis
[lemmy-ui.git] / src / shared / utils.ts
index f1f9c7f1d68302d58f46f8537bbae13fb5a2f09e..6e3856579e890cdc1a34bd9387d2db10c8d1a59f 100644 (file)
@@ -491,6 +491,7 @@ export function toast(text: string, background = "success") {
       backgroundColor: backgroundColor,
       gravity: "bottom",
       position: "left",
+      duration: 5000,
     }).showToast();
   }
 }