From 141dc8f8bb4a9be2b996ec9c5097cbc19030649a Mon Sep 17 00:00:00 2001 From: EthanHealy01 Date: Tue, 22 Jul 2025 16:52:37 +0100 Subject: [PATCH] bad variable name --- frontend/src/components/shared/QuickAccessBar.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/shared/QuickAccessBar.tsx b/frontend/src/components/shared/QuickAccessBar.tsx index 8b52091cf..9e7908714 100644 --- a/frontend/src/components/shared/QuickAccessBar.tsx +++ b/frontend/src/components/shared/QuickAccessBar.tsx @@ -166,11 +166,11 @@ const QuickAccessBar = ({ } ]; - const ROUND_BORDER_RADIUS = '50%'; - const NOT_ROUND_BORDER_RADIUS = '8px'; + const CIRCULAR_BORDER_RADIUS = '50%'; + const ROUND_BORDER_RADIUS = '8px'; const getBorderRadius = (config: ButtonConfig): string => { - return config.isRound ? ROUND_BORDER_RADIUS : NOT_ROUND_BORDER_RADIUS; + return config.isRound ? CIRCULAR_BORDER_RADIUS : ROUND_BORDER_RADIUS; }; const getButtonStyle = (config: ButtonConfig) => { @@ -214,14 +214,14 @@ const QuickAccessBar = ({ return { backgroundColor: 'var(--icon-files-bg)', color: 'var(--icon-files-color)', - borderRadius: ROUND_BORDER_RADIUS, + borderRadius: CIRCULAR_BORDER_RADIUS, }; } if (config.id === 'activity') { return { backgroundColor: 'var(--icon-activity-bg)', color: 'var(--icon-activity-color)', - borderRadius: ROUND_BORDER_RADIUS, + borderRadius: CIRCULAR_BORDER_RADIUS, }; } if (config.id === 'config') {