Skip to content

Commit

Permalink
fix(dashboard): digits number month sales
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikadows committed Jun 29, 2022
1 parent 8e11e70 commit a554b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Dashboard/elements/DashboardChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const DashboardChart: React.FC<DashboardChartProps> = ({
<div className="flex items-center justify-between mb-4">
<div className="flex-shrink-0">
<span className="text-2xl sm:text-3xl leading-none font-bold text-gray-900">
{infos?.monthlySales}
{infos?.monthlySales?.toFixed(2)}
</span>
<h3 className="text-base font-normal text-gray-500">
{t('dashboard.chart.title')}
Expand Down

0 comments on commit a554b14

Please sign in to comment.