bad variable name

This commit is contained in:
EthanHealy01 2025-07-22 16:52:37 +01:00
parent 3a76d13097
commit 141dc8f8bb

View File

@ -166,11 +166,11 @@ const QuickAccessBar = ({
} }
]; ];
const ROUND_BORDER_RADIUS = '50%'; const CIRCULAR_BORDER_RADIUS = '50%';
const NOT_ROUND_BORDER_RADIUS = '8px'; const ROUND_BORDER_RADIUS = '8px';
const getBorderRadius = (config: ButtonConfig): string => { 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) => { const getButtonStyle = (config: ButtonConfig) => {
@ -214,14 +214,14 @@ const QuickAccessBar = ({
return { return {
backgroundColor: 'var(--icon-files-bg)', backgroundColor: 'var(--icon-files-bg)',
color: 'var(--icon-files-color)', color: 'var(--icon-files-color)',
borderRadius: ROUND_BORDER_RADIUS, borderRadius: CIRCULAR_BORDER_RADIUS,
}; };
} }
if (config.id === 'activity') { if (config.id === 'activity') {
return { return {
backgroundColor: 'var(--icon-activity-bg)', backgroundColor: 'var(--icon-activity-bg)',
color: 'var(--icon-activity-color)', color: 'var(--icon-activity-color)',
borderRadius: ROUND_BORDER_RADIUS, borderRadius: CIRCULAR_BORDER_RADIUS,
}; };
} }
if (config.id === 'config') { if (config.id === 'config') {