From e76ceb301c2808b0456a1db363293ce49b383f8c Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Tue, 31 Oct 2023 11:09:50 +0200 Subject: [PATCH] Clear code --- .../General/AddCards/AddCardsContainer.tsx | 2 +- .../ConsensusUptime/ConsensusUptimeCard.tsx | 2 +- src/pages/Dashboard/DashboardContent.tsx | 60 ++++++------------- .../Dashboard/DeviceUptime/DeviceUptime.tsx | 2 +- .../ExecutionUptime/ExecutionUptime.tsx | 2 +- .../SyncStatusCards/SyncStatusCards.tsx | 2 +- 6 files changed, 24 insertions(+), 46 deletions(-) diff --git a/src/components/General/AddCards/AddCardsContainer.tsx b/src/components/General/AddCards/AddCardsContainer.tsx index ed327e19..da9f5552 100644 --- a/src/components/General/AddCards/AddCardsContainer.tsx +++ b/src/components/General/AddCards/AddCardsContainer.tsx @@ -8,7 +8,7 @@ const AddCardsContainer = () => { const cards = 2 return ( - + {Array.from({ length: cards }).map((_, index) => ( diff --git a/src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx b/src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx index aef31c55..48c973da 100644 --- a/src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx +++ b/src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx @@ -9,7 +9,7 @@ const ConsensusUptimeCard = () => { const monthlyActivity = [3, 0, 5, 4, 6, 7, 8, 9, 10, 1, 2, 3] return ( - + diff --git a/src/pages/Dashboard/DashboardContent.tsx b/src/pages/Dashboard/DashboardContent.tsx index 0b585f8a..1b025c5e 100644 --- a/src/pages/Dashboard/DashboardContent.tsx +++ b/src/pages/Dashboard/DashboardContent.tsx @@ -44,7 +44,7 @@ const DashboardContent = () => { className={'transparent-scrollbar'} > - { } - + */} {/* SECOND ROW ENDS HERE! */} - {/* - - - - - - - - - - - - - - */} + + + + + + + + + + + + + + ) diff --git a/src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx b/src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx index 5e1680d2..e72d0156 100644 --- a/src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx +++ b/src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx @@ -28,7 +28,7 @@ const DeviceUptime = () => { } return ( - + diff --git a/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx b/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx index 3b80a2cd..3cb26138 100644 --- a/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx +++ b/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx @@ -8,7 +8,7 @@ import DashboardCardWrapper from '../DashboardCardWrapper' const ExecutionUptime = () => { const monthlyActivity = [3, 0, 5, 4, 6, 7, 0, 9, 10, 1, 2, 3] return ( - + diff --git a/src/pages/Dashboard/SyncStatusCards/SyncStatusCards.tsx b/src/pages/Dashboard/SyncStatusCards/SyncStatusCards.tsx index fc6ff254..37f82ce6 100644 --- a/src/pages/Dashboard/SyncStatusCards/SyncStatusCards.tsx +++ b/src/pages/Dashboard/SyncStatusCards/SyncStatusCards.tsx @@ -7,7 +7,7 @@ import ConsensusCard from './ConsensusClientCard' const SyncStatusCard = () => { return ( - +