Skip to content

Commit d2f9cc2

Browse files
committed
[Demo] Fix order chart currency
Closes Currency mismatch in dashboard revenue chart marmelab#10667
1 parent a01dff4 commit d2f9cc2

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)