chore(toast): get rid of redundant titles

This commit is contained in:
Elian Doran 2025-09-24 23:10:14 +03:00
parent 1cf29c985e
commit d351fd506a
No known key found for this signature in database

View File

@ -1,4 +1,3 @@
import ws from "./ws.js";
import utils from "./utils.js"; import utils from "./utils.js";
export interface ToastOptions { export interface ToastOptions {
@ -82,7 +81,6 @@ function showMessage(message: string, delay = 2000) {
console.debug(utils.now(), "message:", message); console.debug(utils.now(), "message:", message);
toast({ toast({
title: "Info",
icon: "check", icon: "check",
message: message, message: message,
autohide: true, autohide: true,
@ -94,7 +92,6 @@ export function showError(message: string, delay = 10000) {
console.log(utils.now(), "error: ", message); console.log(utils.now(), "error: ", message);
toast({ toast({
title: "Error",
icon: "alert", icon: "alert",
message: message, message: message,
autohide: true, autohide: true,