Skip to content

Commit 4199858

Browse files
authored
Merge pull request #590 from Whats-Cookin/fix-units
small change
2 parents 52d1091 + 1f769c1 commit 4199858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/GraphDetailModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const GraphDetailModal: React.FC<GraphDetailModalProps> = ({
131131
{ key: 'stars', label: 'Rating', format: v => '★'.repeat(v) + '☆'.repeat(5 - v) },
132132
{ key: 'howKnown', label: 'How Known' },
133133
{ key: 'effectiveDate', label: 'Date', format: v => new Date(v).toLocaleDateString() },
134-
{ key: 'amt', label: 'Amount', format: (v, d) => `$${v}${d?.unit ? ' ' + d.unit : ''}` },
134+
{ key: 'amt', label: 'Amount', format: (v, d) => `${v}${d?.unit ? ' ' + d.unit : ''}` },
135135
{ key: 'sourceURI', label: 'Source', format: v => truncateText(v, 50) },
136136
{ key: 'author', label: 'Author' },
137137
{ key: 'score', label: 'Score', format: v => v.toFixed(2) }

0 commit comments

Comments
 (0)