Skip to content

Commit b2b3d4e

Browse files
committed
fix(TxsWidget): comma
1 parent 8ba5b27 commit b2b3d4e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/widgets/TransactionsWidget.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
/** Vendor */
33
import { DateTime } from "luxon"
44
5+
/** Services */
6+
import { comma } from "@/services/utils"
7+
58
/** API */
69
import { fetchHistogram } from "@/services/api/histogram"
710
@@ -42,7 +45,7 @@ const getSectorName = (idx) => {
4245
<Flex align="center" gap="6">
4346
<Icon name="tx" size="16" color="primary" />
4447
<Flex gap="4" align="end">
45-
<Text size="16" weight="600" color="primary">{{ txCounter }}</Text>
48+
<Text size="16" weight="600" color="primary">{{ comma(txCounter) }}</Text>
4649
<Text size="12" weight="700" color="tertiary">TXs</Text>
4750
</Flex>
4851
</Flex>

0 commit comments

Comments
 (0)