mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
fix(sleep): import userDayKey from the pure tz/format module to keep Prisma out of the client bundle
This commit is contained in:
1 parent
9b8a7c98a0
commit
fda39c4159
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user