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)`