From fda39c415946f6363684b9be17526c98476b0045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 4 Jun 2026 19:52:59 +0200 Subject: [PATCH] fix(sleep): import userDayKey from the pure tz/format module to keep Prisma out of the client bundle --- src/lib/analytics/sleep-night.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/analytics/sleep-night.ts b/src/lib/analytics/sleep-night.ts index 0b72448f9..70c57fd63 100644 --- a/src/lib/analytics/sleep-night.ts +++ b/src/lib/analytics/sleep-night.ts @@ -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,