From cbfb47f76ca53a81c408c240c6a53b84ad8e1373 Mon Sep 17 00:00:00 2001 From: Kira Miller <31229189+kiram15@users.noreply.github.com> Date: Fri, 11 Aug 2023 09:05:19 -0600 Subject: [PATCH] fix: color picker error message fix (#2472) * fix: color picker error message fix * fix: PR review --- src/ColorPicker/index.jsx | 18 ++++++++++-------- src/ColorPicker/index.scss | 16 +++++++++++++--- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/src/ColorPicker/index.jsx b/src/ColorPicker/index.jsx index 9ffef29a0d..1cef1c336b 100644 --- a/src/ColorPicker/index.jsx +++ b/src/ColorPicker/index.jsx @@ -67,14 +67,16 @@ function ColorPicker({ > -
Hex
- validateHex(e.target.value)} - data-testid="hex-input" - /> +
+ Hex + validateHex(e.target.value)} + data-testid="hex-input" + /> +
{!hexValid && (