diff --git a/src/pages/CoachDetailPage.tsx b/src/pages/CoachDetailPage.tsx index f77f00c..0f053f8 100644 --- a/src/pages/CoachDetailPage.tsx +++ b/src/pages/CoachDetailPage.tsx @@ -143,7 +143,7 @@ export default function CoachDetailPage() { // read them through a single typed accessor that returns an optional string // instead of scattering casts across the JSX. Presence is still gated by the // isCoach/isBuilder/… flags before these are shown. - const pf = profile as Record; + const pf = profile as unknown as Record; const pget = (key: string): string | undefined => { const v = pf[key]; return typeof v === 'string' && v.length > 0 ? v : undefined; diff --git a/src/pages/TourDetailPage.tsx b/src/pages/TourDetailPage.tsx index e4175e1..9d0616e 100644 --- a/src/pages/TourDetailPage.tsx +++ b/src/pages/TourDetailPage.tsx @@ -200,8 +200,6 @@ export default function TourDetailPage() {