allow closing progress toast

AuthorKonata <konata@posteo.jp>
Date
Commitd81a899459d500585eff26f7692ad4306a5a86c8
Parentb79bf9c
1 file changed, 1 insertion(+), 1 deletion(-)
▾Mwebclient/src/utils.ts
@@ -47,7 +47,7 @@ export function toast(text: string, type: "progress" | "info" | "error" | "succe
const thisToast = Toastify({
text: e ? `${text}:\n${stringErr(e)}` : text,
duration: type === "progress" ? -1 : 2000,
close: type !== "progress",
close: true,
style: {
"border-radius": "0",
display: "flex",