Merge pull request #165 from BEDOLAGA-DEV/fix/theme-save-button

fix: кнопка сохранения ручной темы не появлялась
This commit is contained in:
Egor
2026-02-07 03:46:19 +03:00
committed by GitHub

View File

@@ -85,8 +85,8 @@ export function ThemeTab() {
colorsEqual(savedColorsRef.current, DEFAULT_THEME_COLORS) colorsEqual(savedColorsRef.current, DEFAULT_THEME_COLORS)
) { ) {
setDraftColors(colors); setDraftColors(colors);
savedColorsRef.current = colors;
} }
savedColorsRef.current = colors;
} }
}, [serverColors]); }, [serverColors]);