Skip to content

Commit 9d23f07

Browse files
authored
Merge pull request marmelab#10668 from marmelab/demo-fix-order-chart-currency
[Demo] Fix order chart currency
2 parents 7157b5c + d2f9cc2 commit 9d23f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/demo/src/dashboard/OrderChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const OrderChart = (props: { orders?: Order[] }) => {
8787
]}
8888
tickFormatter={dateFormatter}
8989
/>
90-
<YAxis dataKey="total" name="Revenue" unit="" />
90+
<YAxis dataKey="total" name="Revenue" unit="$" />
9191
<CartesianGrid strokeDasharray="3 3" />
9292
<Tooltip
9393
cursor={{ strokeDasharray: '3 3' }}

0 commit comments

Comments
 (0)