mirror of
https://github.com/wassname/talk.git
synced 2026-07-27 11:28:12 +08:00
20 lines
352 B
JavaScript
20 lines
352 B
JavaScript
import {
|
|
SHOW_BAN_USER_DIALOG,
|
|
HIDE_BAN_USER_DIALOG,
|
|
} from '../constants/banUserDialog';
|
|
|
|
export const showBanUserDialog = ({
|
|
userId,
|
|
username,
|
|
commentId,
|
|
commentStatus,
|
|
}) => ({
|
|
type: SHOW_BAN_USER_DIALOG,
|
|
userId,
|
|
username,
|
|
commentId,
|
|
commentStatus,
|
|
});
|
|
|
|
export const hideBanUserDialog = () => ({ type: HIDE_BAN_USER_DIALOG });
|