From dd9c2a0cd8d92038e4b9492938722f4154fb6dc2 Mon Sep 17 00:00:00 2001 From: Apoorv Mishra Date: Thu, 8 Jan 2026 04:44:24 +0530 Subject: [PATCH] fix: restore color picker (#11095) --- app/components/SwatchButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/SwatchButton.tsx b/app/components/SwatchButton.tsx index ba80a8a37b..14ad3c5d20 100644 --- a/app/components/SwatchButton.tsx +++ b/app/components/SwatchButton.tsx @@ -96,8 +96,8 @@ const StyledContent = styled(PopoverContent)` padding: 8px; `; -const ColorPicker = lazyWithRetry( - () => import("react-color/lib/components/chrome/Chrome") +const ColorPicker = lazyWithRetry(() => + import("react-color").then((mod) => ({ default: mod.ChromePicker })) ); const StyledColorPicker = styled(ColorPicker)`