Added "type" argument to flashNotification (to distinguish between error and info)

This commit is contained in:
Zef Hemel
2022-07-14 13:32:28 +02:00
parent d57a9e79de
commit a8274d225c
6 changed files with 51 additions and 21 deletions
+1
View File
@@ -6,6 +6,7 @@ export const slashCommandRegexp = /\/[\w\-]*/;
export type Notification = {
id: number;
message: string;
type: "info" | "error";
date: Date;
};