sort chores using due date, color tasks according to due level

This commit is contained in:
2025-08-28 22:22:14 +02:00
parent c7b03a93f0
commit d37dbc4f62
5 changed files with 45 additions and 19 deletions

View File

@@ -28,8 +28,6 @@ const useFlatasticStore = create(
const data = await flatastic.getTaskList();
const dataB = await flatastic.getInformation();
console.log("Flatastic chores fetched:", data);
console.log("Flatastic information fetched:", dataB);
set({
flatasticData: {
chores: data as FlatasticChore[],

View File

@@ -16,11 +16,6 @@ const useKVVStore = create(
const hStreetJson = await hStreetData.json();
const pStreetJson = await pStreetData.json();
console.log("KVV departures fetched:", {
hStreet: hStreetJson,
pStreet: pStreetJson,
});
set({
hStreet: hStreetJson as DepartureType[],
pStreet: pStreetJson as DepartureType[],