mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
fix(theme): fix gradients for colour picker
This commit is contained in:
@@ -41,7 +41,6 @@ export default function Picker({
|
||||
const latestValuesRef = useRef({ customThemeColor, customOnChange, savePresets, presets });
|
||||
|
||||
useEffect(() => {
|
||||
console.log(customState)
|
||||
if (customState !== undefined) {
|
||||
setCustomThemeColor(customState)
|
||||
} else {
|
||||
@@ -105,6 +104,7 @@ export default function Picker({
|
||||
onChange={(color: string) => {
|
||||
if (customOnChange) {
|
||||
customOnChange(color)
|
||||
setCustomThemeColor(color)
|
||||
} else {
|
||||
setCustomThemeColor(color)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user