From c2f6417b41fde78a383a2b648a4ec5a05c7b29b2 Mon Sep 17 00:00:00 2001 From: Claas Date: Sun, 28 Jun 2026 17:48:19 +0000 Subject: [PATCH] Clean up --- client/src/routes/_app/times.tsx | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/client/src/routes/_app/times.tsx b/client/src/routes/_app/times.tsx index 4335052..7814cbb 100644 --- a/client/src/routes/_app/times.tsx +++ b/client/src/routes/_app/times.tsx @@ -3,8 +3,8 @@ import { createFileRoute } from "@tanstack/solid-router"; import { createMemo, createSignal, For, type VoidProps } from "solid-js"; import { FloatingActionButton } from "@/FloatingActionButton"; -import Icon from "@/Icon"; import { useI18n } from "@/i18n"; +import Icon from "@/Icon"; import { deleteTimes, query, updateTimes, type Time, type TimeId } from "@/time"; import { Title } from "@/Title"; import { idQuery, type UserId } from "@/user"; @@ -301,20 +301,6 @@ function Times() { const routeData = Route.useLoaderData(); const { t } = useI18n(); - // const timesByDate = Map.groupBy(times, (time) => { - // return time.start.toZonedDateTimeISO(timeZone).toPlainDate().toString(); - // }); - - // return { - // userId, - // times: timesByDate - // .entries() - // .map(([day, times]) => { - // return [Temporal.PlainDate.from(day), times] as const; - // }) - // .toArray(), - // }; - const timesQuery = useQuery(() => query(routeData().userId)); const times = () => { if (timesQuery.status !== "success") return; -- 2.51.2