mirror of
https://gitlab.com/ceda_ei/sonzai.git
synced 2025-07-12 01:36:55 +02:00
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
|
|
};
|
|
}
|
|
|