From d4e3ee06ea192b8389c1424f3bc0a1a60bc9e126 Mon Sep 17 00:00:00 2001 From: "[dyad]" Date: Wed, 10 Sep 2025 13:37:32 +0200 Subject: [PATCH] [dyad] wrote 2 file(s) --- src/components/StatCard.tsx | 8 ++++---- src/components/StockChart.tsx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/StatCard.tsx b/src/components/StatCard.tsx index 4ec5866..be0687f 100644 --- a/src/components/StatCard.tsx +++ b/src/components/StatCard.tsx @@ -3,18 +3,18 @@ import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; interface StatCardProps { title: string; value: string; - description: string; // Added description prop + description: string; icon: React.ReactNode; } export default function StatCard({ title, value, description, icon }: StatCardProps) { return ( - - {title} + + {title} {icon} - +
{value}

{description}

diff --git a/src/components/StockChart.tsx b/src/components/StockChart.tsx index a3445a2..2244440 100644 --- a/src/components/StockChart.tsx +++ b/src/components/StockChart.tsx @@ -29,8 +29,8 @@ export function StockChart() { return ( - - Monthly Stock Activity + + Monthly Stock Activity