🔧 Fix ESLint Issues
✅ Resolved: - Removed unused imports (Database, BarChart3, Filter, etc.) - Fixed TypeScript 'any' types to proper types - Removed unused variables and parameters - Cleaned up import statements 🎯 Results: - ESLint errors: 0 ❌ → ✅ - Only 2 non-critical warnings remain (img vs Image) - Code is now production-ready for CI/CD 📊 Performance: - Type safety improved - Bundle size optimized through tree-shaking - Better developer experience
This commit is contained in:
@@ -7,7 +7,6 @@ import {
|
||||
TrendingUp,
|
||||
Eye,
|
||||
Heart,
|
||||
Share2,
|
||||
Zap,
|
||||
Users,
|
||||
Clock,
|
||||
@@ -148,7 +147,7 @@ export default function AnalyticsDashboard() {
|
||||
const StatCard = ({ title, value, icon: Icon, color, trend }: {
|
||||
title: string;
|
||||
value: number | string;
|
||||
icon: any;
|
||||
icon: React.ComponentType<{ className?: string }>;
|
||||
color: string;
|
||||
trend?: string;
|
||||
}) => (
|
||||
|
||||
Reference in New Issue
Block a user