From d451cc438a2c05efa97b28e451c877b1da6888ff Mon Sep 17 00:00:00 2001 From: Saeed Abadiyan Date: Mon, 6 Oct 2025 06:51:09 +0330 Subject: [PATCH] hotfix: in product-innovation --- .../project-management/product-innovation-page.tsx | 12 ++++++------ app/components/ui/metric-card.tsx | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/components/dashboard/project-management/product-innovation-page.tsx b/app/components/dashboard/project-management/product-innovation-page.tsx index bef1a1f..a03d974 100644 --- a/app/components/dashboard/project-management/product-innovation-page.tsx +++ b/app/components/dashboard/project-management/product-innovation-page.tsx @@ -237,11 +237,11 @@ export function ProductInnovationPage() { revenueNewProducts: { id: "revenueNewProducts", title: "سهم از درآمد برای محصولات جدید", - value: "0", + value: 0, description: "میلیون ریال", descriptionPercent: "درصد به کل درآمد", color: "text-[#3AEA83]", - percent : "0" + percent :0 }, newProductExports: { id: "newProductExports", @@ -466,8 +466,8 @@ export function ProductInnovationPage() { ...prev, revenueNewProducts: { ...prev.revenueNewProducts, - value: formatNumber(normalized?.new_products_revenue_share), - percent: formatNumber(normalized?.new_products_revenue_share_percent), + value: normalized.new_products_revenue_share, + percent: normalized.new_products_revenue_share_percent, }, impactOnImports: { ...prev.impactOnImports, @@ -716,8 +716,8 @@ export function ProductInnovationPage() {
diff --git a/app/components/ui/metric-card.tsx b/app/components/ui/metric-card.tsx index ae0e47e..8f44c24 100644 --- a/app/components/ui/metric-card.tsx +++ b/app/components/ui/metric-card.tsx @@ -45,4 +45,4 @@ export function MetricCard({
); -} \ No newline at end of file +}