From 9c8184d48b260eeb67d100fa8379cb8b607074f6 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Fri, 17 Jul 2026 15:04:43 +0000 Subject: [PATCH] fix(analytics): remove orphaned QueriesReviewPanel import AnalyticsView.tsx imported and rendered QueriesReviewPanel, but that component file was never added in any commit -- the import has been dangling since it was introduced, breaking the production build with "Module not found: Can't resolve './QueriesReviewPanel'". Removes the import and its render block. The Queries/Review-with-Landlord row can be reintroduced once the component actually exists. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../(portfolio)/your-projects/live/AnalyticsView.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/app/portfolio/[slug]/(portfolio)/your-projects/live/AnalyticsView.tsx b/src/app/portfolio/[slug]/(portfolio)/your-projects/live/AnalyticsView.tsx index 383db091..b41971b9 100644 --- a/src/app/portfolio/[slug]/(portfolio)/your-projects/live/AnalyticsView.tsx +++ b/src/app/portfolio/[slug]/(portfolio)/your-projects/live/AnalyticsView.tsx @@ -7,7 +7,6 @@ import { Card, CardContent } from "@/app/shadcn_components/ui/card"; import DampMouldRiskPanel from "./DampMouldRiskPanel"; import CompletionTrendsChart from "./CompletionTrendsChart"; import SurveyIssuesPanel from "./SurveyIssuesPanel"; -import QueriesReviewPanel from "./QueriesReviewPanel"; import ExcludedFromPipelinePanel from "./ExcludedFromPipelinePanel"; import GroupFilter, { type GroupNode } from "./GroupFilter"; import { STAGE_COLORS, STAGE_ORDER } from "./types"; @@ -431,13 +430,7 @@ export default function AnalyticsView({ onOpenTable={onOpenTable} /> - {/* Row 7: Queries / Review with Landlord (parked but still in programme) */} - - - {/* Row 8: Excluded from Pipeline (Removed from Bookings / Removed from Program) */} + {/* Row 7: Excluded from Pipeline (Removed from Bookings / Removed from Program) */}