refactor(insights): reduce the weight card to its input gate and snapshot

This commit is contained in:
Marc-André Bombeck committed 2026-10-23 11:04:15 +02:00
1 parent ea01610a56
commit de866107ad
2 files changed
+356 -510

No files matched your search

+2 -4
View File
@@ -1,9 +1,7 @@
import { NextRequest } from "next/server";
import { apiSuccess } from "@/lib/api-response";
import {
generateWeightStatusForUser,
resolveWeightStatusLocale,
} from "@/lib/insights/weight-status";
import { generateWeightStatusForUser } from "@/lib/insights/weight-status";
import { normalizeLocale as resolveWeightStatusLocale } from "@/lib/insights/status-shared";
import { apiHandler, requireRecordAuth } from "@/lib/api-handler";
import { annotate } from "@/lib/logging/context";
import { resolveServerLocale } from "@/lib/i18n/server-locale";