From 8df7158415bf0620955fe69e7d6e6cf6c7e57fd7 Mon Sep 17 00:00:00 2001 From: Emil Ivanichkov Date: Tue, 12 Mar 2024 18:37:09 +0200 Subject: [PATCH] chore(format): Format files after update --- src/components/Charts/DeviceCPULoad.tsx | 4 ++-- src/components/Charts/DeviceMemoryHealth.tsx | 4 ++-- src/components/Charts/DeviceNetworkHealth.tsx | 4 ++-- src/components/Charts/DeviceStorageHealth.tsx | 4 ++-- src/components/General/ConnectWallet.tsx | 4 ++-- src/pages/ValidatorOnboarding/ValidatorSetup/BackButton.tsx | 4 ++-- .../ValidatorSetup/ValidatorSetup/ExecClientCard.tsx | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/Charts/DeviceCPULoad.tsx b/src/components/Charts/DeviceCPULoad.tsx index e340d599..6547c0e0 100644 --- a/src/components/Charts/DeviceCPULoad.tsx +++ b/src/components/Charts/DeviceCPULoad.tsx @@ -49,8 +49,8 @@ const DeviceCPULoad = ({ load }: DeviceCPULoadProps) => { backgroundColor: isHovered ? '#f8f6ff' : message === 'Poor' - ? '#fefafa' - : '#fff', + ? '#fefafa' + : '#fff', }} onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} diff --git a/src/components/Charts/DeviceMemoryHealth.tsx b/src/components/Charts/DeviceMemoryHealth.tsx index df048029..f38b7e58 100644 --- a/src/components/Charts/DeviceMemoryHealth.tsx +++ b/src/components/Charts/DeviceMemoryHealth.tsx @@ -56,8 +56,8 @@ const DeviceMemoryHealth = ({ backgroundColor: isHovered ? '#f8f6ff' : message === 'Poor' - ? '#fefafa' - : '#fff', + ? '#fefafa' + : '#fff', }} onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} diff --git a/src/components/Charts/DeviceNetworkHealth.tsx b/src/components/Charts/DeviceNetworkHealth.tsx index 417fad33..7a40a7bb 100644 --- a/src/components/Charts/DeviceNetworkHealth.tsx +++ b/src/components/Charts/DeviceNetworkHealth.tsx @@ -63,8 +63,8 @@ const DeviceNetworkHealth = ({ latency }: DeviceNetworkHealthProps) => { backgroundColor: isHovered ? '#f8f6ff' : processedLatency.message === 'Poor' - ? '#fefafa' - : '#fff', + ? '#fefafa' + : '#fff', }} onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} diff --git a/src/components/Charts/DeviceStorageHealth.tsx b/src/components/Charts/DeviceStorageHealth.tsx index e688abc8..12780798 100644 --- a/src/components/Charts/DeviceStorageHealth.tsx +++ b/src/components/Charts/DeviceStorageHealth.tsx @@ -50,8 +50,8 @@ const DeviceStorageHealth = ({ backgroundColor: isHovered ? '#f8f6ff' : message === 'Poor' - ? '#fefafa' - : '#fff', + ? '#fefafa' + : '#fff', }} onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} diff --git a/src/components/General/ConnectWallet.tsx b/src/components/General/ConnectWallet.tsx index 12b04ad5..a7452333 100644 --- a/src/components/General/ConnectWallet.tsx +++ b/src/components/General/ConnectWallet.tsx @@ -47,8 +47,8 @@ const ConnectWallet = ({ isConnectBtnJustifyEnd }: ConnectWalletProps) => { {connecting ? 'Connecting' : wallet - ? 'Disconnect Wallet' - : 'Connect Wallet'} + ? 'Disconnect Wallet' + : 'Connect Wallet'} ) diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/BackButton.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/BackButton.tsx index 0d1319d5..e47f0e64 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/BackButton.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/BackButton.tsx @@ -58,8 +58,8 @@ const BackButton = () => { buttonState === 'enabled' ? '09101C' : buttonState === 'disabled' - ? 'CED4DB' - : 'fff', + ? 'CED4DB' + : 'fff', fill: buttonState === 'pressed' ? '2A4AF5' : '', textColor: buttonState === 'disabled' ? 'CED4DB' : '09101C', } diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCard.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCard.tsx index 66d2bdc6..7cebd771 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCard.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCard.tsx @@ -26,8 +26,8 @@ const ExecClientCard = ({ name, icon, isComingSoon }: ExecClientCardProps) => { border: isComingSoon ? '1px solid #F5F6F8' : isSelected - ? '1px solid #2A4AF5' - : '1px solid #DCE0E5', + ? '1px solid #2A4AF5' + : '1px solid #DCE0E5', borderRadius: '16px', padding: '12px 16px', cursor: 'pointer',