From b4d0f44ba3357ebf2432dfc1b21bb666c73199c1 Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Fri, 6 Oct 2023 10:54:32 +0300 Subject: [PATCH] fix Consensus Uptime --- .../ConsensusUptime/ConsensusUptimeCard.tsx | 40 ++----------------- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx b/src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx index 33423f60..26f0c1b5 100644 --- a/src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx +++ b/src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx @@ -4,44 +4,10 @@ import { Stack, XStack, YStack } from 'tamagui' import UptimeChart from '../UptimeChart/UptimeChart' import Icon from '../../../components/General/Icon' -const data: DataItem[] = [ - { - pv: 1, - pa: 1, - }, - { - pv: 0, - pa: 0, - }, - { - pv: 1, - pa: 0, - }, - { - pv: 0, - pa: 0, - }, - { - pv: 0, - pa: 0, - }, - { - pv: 1, - pa: 1, - }, - { - pv: 1, - pa: 1, - }, -] - -type DataItem = { - name?: string - pa: number - pv: number -} + const ConsensusUptimeCard = () => { + const monthlyActivity = [30,20,50,40,60,70,80,90,100,10,20,30] return ( { height: '100%', }} > - +