From 1135b901718534ddd8d13abf11200a52825d28b2 Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Fri, 3 Nov 2023 10:43:06 +0200 Subject: [PATCH] clear code --- .../ConsensusUptime/ConsensusUptimeCard.tsx | 5 ++--- src/pages/Dashboard/DashboardContent.tsx | 17 +++++++++-------- .../Dashboard/DeviceUptime/DeviceUptime.tsx | 2 +- .../ExecutionUptime/ExecutionUptime.tsx | 5 ++--- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx b/src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx index 314b80a2..c9f4841b 100644 --- a/src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx +++ b/src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx @@ -6,10 +6,9 @@ import Icon from '../../../components/General/Icon' import DashboardCardWrapper from '../DashboardCardWrapper' const ConsensusUptimeCard = () => { - return ( - - + + Consensus Uptime diff --git a/src/pages/Dashboard/DashboardContent.tsx b/src/pages/Dashboard/DashboardContent.tsx index 2987476e..681c085d 100644 --- a/src/pages/Dashboard/DashboardContent.tsx +++ b/src/pages/Dashboard/DashboardContent.tsx @@ -65,7 +65,7 @@ const DashboardContent = () => { )} - + {windowWidth < 1375 ? ( windowWidth < 850 ? ( DashboardContentLayoutPhone(windowWidth) @@ -82,15 +82,16 @@ const DashboardContent = () => { }} > - + - - - + xx diff --git a/src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx b/src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx index 68e4c3ba..491d00b8 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 6a3a30a2..b7b693b0 100644 --- a/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx +++ b/src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx @@ -6,10 +6,9 @@ import UptimeChart from '../UptimeChart/UptimeChart' import DashboardCardWrapper from '../DashboardCardWrapper' const ExecutionUptime = () => { - return ( - - + + Execution Uptime