From 14b37d6dec62a7868f4cf0e4d31f69370dba0a46 Mon Sep 17 00:00:00 2001 From: Nandgopal-R Date: Wed, 11 Mar 2026 11:22:57 +0530 Subject: [PATCH] fix: remove unused fields from report --- src/components/reports/AIInsightsSection.tsx | 21 +++----------------- 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/src/components/reports/AIInsightsSection.tsx b/src/components/reports/AIInsightsSection.tsx index 05b8c287..bab4b3a0 100644 --- a/src/components/reports/AIInsightsSection.tsx +++ b/src/components/reports/AIInsightsSection.tsx @@ -5,8 +5,7 @@ import { Sparkles, TrendingUp, } from 'lucide-react' -import { KeyTakeaways } from './KeyTakeaways' -import { ResponseCharts } from './ResponseCharts' + import type { AnalyticsReport } from '@/api/ai' import { Button } from '@/components/ui/button' import { @@ -119,16 +118,7 @@ export function AIInsightsSection({ - {/* 2. Key Takeaways Section (New Enhancement) */} -
- -
- - {/* 3. Quantitative Insights */} + {/* 2. Quantitative Insights */} {report.quantitativeInsights.length > 0 && (

@@ -158,12 +148,7 @@ export function AIInsightsSection({

)} - {/* 4. Response Visualizations Section (New Enhancement) */} -
- -
- - {/* 5. Qualitative Themes */} + {/* 3. Qualitative Themes */} {report.qualitativeThemes.length > 0 && (