mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-24 04:07:16 +00:00
Polish: Add warning to notificationStore
This commit is contained in:
@@ -18,4 +18,8 @@ export const notificationStore = {
|
||||
info: (message: string, duration: number = DEFAULT_DURATIONS.info) => {
|
||||
return showToast('info', message, undefined, duration);
|
||||
},
|
||||
|
||||
warning: (message: string, duration: number = DEFAULT_DURATIONS.info) => {
|
||||
return showToast('warning', message, undefined, duration);
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user