fix(sleep): import userDayKey from the pure tz/format module to keep Prisma out of the client bundle

This commit is contained in:
Marc-André Bombeck committed 2026-06-04 19:52:59 +02:00
1 parent 9b8a7c98a0
commit fda39c4159
1 file changed
+1 -1
+1 -1
View File
@@ -85,7 +85,7 @@
* correct. Callers that want hours convert at the edge (`/ 60`).
*/
import type { MeasurementSource, SleepStage } from "@/generated/prisma/client";
import { userDayKey } from "@/lib/tz/resolver";
import { userDayKey } from "@/lib/tz/format";
import { summarize, type DataSummary } from "@/lib/analytics/trends";
import {
getSourceLadder,