mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-09-08 21:36:01 +00:00
feat(dashboard): vincula tendências às categorias
This commit is contained in:
@@ -174,9 +174,10 @@ export const widgetsConfig: WidgetConfig[] = [
|
||||
title: "Tendências de categorias",
|
||||
subtitle: "Top 10 maiores variações vs. mês anterior",
|
||||
icon: <RiLineChartLine className="size-4" />,
|
||||
component: ({ data }) => (
|
||||
component: ({ data, period }) => (
|
||||
<CategoryTrendsWidget
|
||||
categories={data.expensesByCategoryData.categories}
|
||||
period={period}
|
||||
/>
|
||||
),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user