Added "type" argument to flashNotification (to distinguish between error and info)
This commit is contained in:
@@ -6,6 +6,7 @@ export const slashCommandRegexp = /\/[\w\-]*/;
|
||||
export type Notification = {
|
||||
id: number;
|
||||
message: string;
|
||||
type: "info" | "error";
|
||||
date: Date;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user