From 6464e31b3db71a50e6ad1a7a38b1f95bf560830d Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Fri, 6 Oct 2023 10:55:06 +0300 Subject: [PATCH] fix ExecutionUptime --- .../ExecutionUptime/ExecutionUptime.tsx | 44 ++----------------- 1 file changed, 4 insertions(+), 40 deletions(-) diff --git a/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx b/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx index 988f0b16..cfdf67a1 100644 --- a/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx +++ b/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx @@ -3,46 +3,10 @@ import { Stack, XStack, YStack } from 'tamagui' import Icon from '../../../components/General/Icon' import UptimeChart from '../UptimeChart/UptimeChart' - -const data: DataItem[] = [ - { - // @NOTE: if you want to add name in the XAxis. You need to set the names here - pv: 1, - pa: 1, - }, - { - pv: 0, - pa: 0, - }, - { - pv: 0, - pa: 0, - }, - { - pv: 0, - pa: 1, - }, - { - pv: 0, - pa: 0, - }, - { - pv: 1, - pa: 0, - }, - { - pv: 0, - pa: 1, - }, -] - -type DataItem = { - name?: string - pa: number - pv: number -} - + + const ExecutionUptime = () => { + const monthlyActivity = [0,20,0,0,0,10,0,0,0,0,0,30] return ( { height: '100%', }} > - +