mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 21:32:50 +08:00
17 lines
324 B
JavaScript
17 lines
324 B
JavaScript
export const ADD_NOTIFICATION = 'ADD_NOTIFICATION';
|
|
export const CLEAR_NOTIFICATION = 'CLEAR_NOTIFICATION';
|
|
|
|
export const addNotification = (notifType, text) => {
|
|
return {
|
|
type: ADD_NOTIFICATION,
|
|
notifType,
|
|
text
|
|
};
|
|
};
|
|
|
|
export const clearNotification = () => {
|
|
return {
|
|
type: CLEAR_NOTIFICATION
|
|
};
|
|
};
|