chore(cleanup): drop two dead re-exports before the knip gate flip

W1-KNIP's reconcile callouts identified two re-exports that no caller
ever consumed:

- `src/lib/tz/resolver.ts:51` re-exported `listSupportedTimezones` from
  `./format`, but both call-sites (`components/settings/timezone-picker.tsx`
  and `components/admin/general-settings-section.tsx`) import directly
  from `@/lib/tz/format`.
- `src/components/medications/glp1-medication-card.tsx:595-596`
  re-exported `describeInjectionSite` "so the parent doesn't need to
  import it", but every real consumer (`therapy-timeline.tsx`,
  `injection-site-picker.tsx`, the unit test) imports the source from
  `@/lib/medications/injection-sites` directly.

Drops both re-exports and the now-orphaned `describeInjectionSite`
import in `glp1-medication-card.tsx`. Clears the last knip findings so
the gate flip in the next commit lands clean.
This commit is contained in:
Marc-André Bombeck committed 2026-05-21 19:06:08 +02:00
1 parent 3b006b7ccb
commit dce14fb40c
2 files changed
-5

No files matched your search

-1
View File
@@ -48,7 +48,6 @@ export {
DEFAULT_TIMEZONE,
isValidTimezone,
isNearUtc,
listSupportedTimezones,
detectBrowserTimezone,
formatInUserTz,
userDayKey,