From f303371c81316b8c53195d1ddae4f34be9ef6c4d Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 20 Oct 2022 20:51:46 +0800 Subject: [PATCH] fix(Wheel): fix `color` props issue (#98). --- packages/color-wheel/src/Pointer.tsx | 40 +++++++++++++--------------- website/src/components/Markdown.tsx | 2 +- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/packages/color-wheel/src/Pointer.tsx b/packages/color-wheel/src/Pointer.tsx index 35e67e6bd..d93d3f8fe 100644 --- a/packages/color-wheel/src/Pointer.tsx +++ b/packages/color-wheel/src/Pointer.tsx @@ -17,31 +17,29 @@ export const Pointer = ({ className, color, left, top, style, prefixCls }: Point top, left, }; - return useMemo( - () => ( -