mirror of
https://github.com/wassname/talk.git
synced 2026-08-10 12:41:02 +08:00
18 lines
436 B
JavaScript
18 lines
436 B
JavaScript
import * as actions from 'constants/configure';
|
|
|
|
export const updatePending = ({ updater, errorUpdater }) => {
|
|
return { type: actions.UPDATE_PENDING, updater, errorUpdater };
|
|
};
|
|
|
|
export const clearPending = () => {
|
|
return { type: actions.CLEAR_PENDING };
|
|
};
|
|
|
|
export const showSaveDialog = () => {
|
|
return { type: actions.SHOW_SAVE_DIALOG };
|
|
};
|
|
|
|
export const hideSaveDialog = () => {
|
|
return { type: actions.HIDE_SAVE_DIALOG };
|
|
};
|