fix: Improve toast messages to not show multiple of the same

This commit is contained in:
Tom Moor
2021-01-02 21:09:43 -08:00
parent 68bbd9fa34
commit bb81aa0065
5 changed files with 79 additions and 61 deletions

View File

@@ -17,6 +17,7 @@ export type Toast = {
message: string,
type: "warning" | "error" | "info" | "success",
timeout?: number,
reoccurring?: number,
action?: {
text: string,
onClick: () => void,