mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
Two clarity regressions surfaced by the v1.4.41 QA round. 1. `src/types/analytics.ts:37-38` imported `DataSummary` twice from the same module — once bare, once aliased as `DataSummaryType` — with the alias used on a single line. The duplicate shape was carried verbatim from `src/app/page.tsx` where both names existed historically; in a fresh module there's no reason for two import lines. Collapses to a single import; `glucoseByContext` now uses the canonical `DataSummary`. Same fix replayed in `src/app/page.tsx`. 2. `src/app/insights/page.tsx:100` and `src/components/onboarding/getting-started-checklist.tsx:75` carried their W-ORG alias-back-import in the middle of the file, after non-import statements. Lifts both into the top-of-file import block alongside their peers; the aliased name (`as AnalyticsData`) stays for call-site stability, the W-ORG header comment moves with the import.