scinote-web/app/javascript/packs/shared/actions/LeaveTeamActions.js
2017-08-25 16:40:23 +02:00

8 lines
226 B
JavaScript

import { SHOW_LEAVE_TEAM_MODAL } from "../../app/action_types";
export function leaveTeamModalShow(show = false, id = 0, teamName = "") {
return {
payload: { show, id, teamName },
type: SHOW_LEAVE_TEAM_MODAL
};
}