修正一错误信息。

This commit is contained in:
徐涛 2024-12-31 13:20:55 +08:00
parent 691099ac3a
commit cfe508ee62

View File

@ -28,7 +28,7 @@ export function HslAssemble({ color, onChange }: HslAssembleProps) {
const newColor = colorFn?.hsl_to_hex(h, s / 100, l / 100) ?? '000000';
onChange(newColor);
} catch (error) {
console.error('[Convert RGB]', error);
console.error('[Convert HSL]', error);
}
}, [h, s, l]);
useEffect(() => {