sonzai/actions.js

16 lines
186 B
JavaScript

export function addSubject(subject) {
return {
type: "ADD_SUBJECT",
subject: subject
};
}
export function removeSubject(id) {
return {
type: "REMOVE_SUBJECT",
id: id
};
}