mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
Merge pull request #165 from BEDOLAGA-DEV/fix/theme-save-button
fix: кнопка сохранения ручной темы не появлялась
This commit is contained in:
@@ -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]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user