Skip to content

Commit 1dbecfe

Browse files
committed
refactor(login): move COLOR_WHITE constant outside of useBgColor function for improved readability
1 parent 5c63d67 commit 1dbecfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/(blank)/login/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import { getThemeSettings, useTheme } from '@/features/theme';
66

77
import Header from './modules/Header';
88

9-
function useBgColor() {
10-
const COLOR_WHITE = '#ffffff';
9+
const COLOR_WHITE = '#ffffff';
1110

11+
function useBgColor() {
1212
const { darkMode } = useTheme();
1313

1414
const { themeColor } = useAppSelector(getThemeSettings);

0 commit comments

Comments
 (0)