From 07900172e7f03e2713b8daaf806fd3c3cc204670 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Fri, 15 Sep 2023 18:16:04 +0300 Subject: [PATCH] feat: add valid icon to sync card --- src/pages/Dashboard/SyncStatusCard/SyncCardContent.tsx | 7 +++++-- src/pages/Dashboard/SyncStatusCard/SyncStatusCard.tsx | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pages/Dashboard/SyncStatusCard/SyncCardContent.tsx b/src/pages/Dashboard/SyncStatusCard/SyncCardContent.tsx index d14be47d..6da30f75 100644 --- a/src/pages/Dashboard/SyncStatusCard/SyncCardContent.tsx +++ b/src/pages/Dashboard/SyncStatusCard/SyncCardContent.tsx @@ -1,6 +1,9 @@ import { Separator, XStack, YStack } from 'tamagui' -import { formatNumberForGauge } from '../../../utilities' import { Text } from '@status-im/components' +import { SwapIcon } from '@status-im/icons' + +import { formatNumberForGauge } from '../../../utilities' +import IconText from '../../../components/General/IconText' type SyncCardContentProps = { title: string @@ -16,7 +19,7 @@ const SyncCardContent = ({ title, value, total }: SyncCardContentProps) => { - {/* }>Syncing */} + }>Syncing {formatNumberForGauge(value)} / {formatNumberForGauge(total)} diff --git a/src/pages/Dashboard/SyncStatusCard/SyncStatusCard.tsx b/src/pages/Dashboard/SyncStatusCard/SyncStatusCard.tsx index bd2c6509..c4e05531 100644 --- a/src/pages/Dashboard/SyncStatusCard/SyncStatusCard.tsx +++ b/src/pages/Dashboard/SyncStatusCard/SyncStatusCard.tsx @@ -1,8 +1,8 @@ import { Separator, YStack } from 'tamagui' +import { Text } from '@status-im/components' import SyncCardContent from './SyncCardContent' import DashboardCardWrapper from '../DashboardCardWrapper' -import { Text } from '@status-im/components' const SyncStatusCard = () => { return (