Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmathew900 committed Feb 6, 2025
1 parent 0c31ca7 commit d28c42e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ColorPicker/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ const ColorPicker = ({
hexColorInputValue.current = hex;
if (hex.length !== (showTransparencyControl ? 9 : 7)) return;

hexColorInputValue.current = "";
onColorChange(hex);
hexColorInputValue.current = "";
};

const onBlur = () => {
Expand Down

0 comments on commit d28c42e

Please sign in to comment.