mirror of https://gitlab.com/ceda_ei/sonzai.git
16 lines
186 B
JavaScript
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
|
||
|
};
|
||
|
}
|
||
|
|