mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
fix color picker
This commit is contained in:
parent
8e4db99c9c
commit
f8b11e3172
@ -27,7 +27,7 @@ const ColorPicker: FunctionComponent<ComponentProps> = (
|
||||
if (props.initialValue) {
|
||||
setColor(props.initialValue.toString());
|
||||
}
|
||||
}, []);
|
||||
}, [props.initialValue]);
|
||||
|
||||
const handleChange: Function = (color: string): void => {
|
||||
setColor(color);
|
||||
|
Loading…
Reference in New Issue
Block a user