From 638177b909cb4e28f305507adaf6b1cc5ea5ad75 Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Sat, 21 Oct 2023 19:43:10 +0300 Subject: [PATCH] format --- src/pages/Dashboard/BasicInfoCards/BasicInfoCard.tsx | 2 +- src/pages/Dashboard/CPULoad/CPUCard.tsx | 2 +- src/pages/Dashboard/ConsensusUptime/ConsensusUptimeCard.tsx | 2 +- src/pages/Dashboard/DashboardContent.tsx | 2 +- src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx | 2 +- src/pages/Dashboard/ExecutionUptime/ExecutionUptime.tsx | 2 +- src/pages/Dashboard/MemoryCard/MemoryCard.tsx | 2 +- src/pages/Dashboard/NetworkCard/NetworkCard.tsx | 2 +- src/pages/Dashboard/StorageCard/StorageCard.tsx | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pages/Dashboard/BasicInfoCards/BasicInfoCard.tsx b/src/pages/Dashboard/BasicInfoCards/BasicInfoCard.tsx index 5d99dd84..54d7ece8 100644 --- a/src/pages/Dashboard/BasicInfoCards/BasicInfoCard.tsx +++ b/src/pages/Dashboard/BasicInfoCards/BasicInfoCard.tsx @@ -10,7 +10,7 @@ type BasicInfoCardProps = { const BasicInfoCard = ({ title, value }: BasicInfoCardProps) => { return ( - + {title} diff --git a/src/pages/Dashboard/CPULoad/CPUCard.tsx b/src/pages/Dashboard/CPULoad/CPUCard.tsx index 935ebcec..9a4fbd88 100644 --- a/src/pages/Dashboard/CPULoad/CPUCard.tsx +++ b/src/pages/Dashboard/CPULoad/CPUCard.tsx @@ -40,7 +40,7 @@ const CPUCard = ({ load }: CPUCardProps) => { const message = currentLoad < 80 ? 'Good' : 'Poor' return ( - + { 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 708e7304..f67d1dec 100644 --- a/src/pages/Dashboard/DashboardContent.tsx +++ b/src/pages/Dashboard/DashboardContent.tsx @@ -96,7 +96,7 @@ const DashboardContent = () => { {/* */} - + ) } diff --git a/src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx b/src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx index e996fb6a..5e1680d2 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 020553e8..3b80a2cd 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/MemoryCard/MemoryCard.tsx b/src/pages/Dashboard/MemoryCard/MemoryCard.tsx index d43f4822..39233306 100644 --- a/src/pages/Dashboard/MemoryCard/MemoryCard.tsx +++ b/src/pages/Dashboard/MemoryCard/MemoryCard.tsx @@ -42,7 +42,7 @@ const MemoryCard = ({ currentMemory, maxMemory }: MemoryCardProps) => { const message = currentLoad < maxMemory ? 'Good' : 'Poor' return ( - + { const message = currentLoad > 60 ? 'Good' : 'Poor' return ( - + { } return ( - +