1
0
mirror of https://gitlab.com/ceda_ei/sonzai.git synced 2025-07-03 05:16:54 +02:00
sonzai/reducers/timetable.js

15 lines
200 B
JavaScript

export default function timetable(state) {
if (typeof state === "undefined")
// Array of days starting with Sunday
return [
[],
[],
[],
[],
[],
[],
[],
];
return state;
}