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(
- () => (
-
+ const cls = `${prefixCls}-pointer ${className || ''}`;
+ return (
+
+
- ),
- [top, left, color, className, prefixCls],
+
);
};
diff --git a/website/src/components/Markdown.tsx b/website/src/components/Markdown.tsx
index 50b6c6644..5ad56f5e1 100644
--- a/website/src/components/Markdown.tsx
+++ b/website/src/components/Markdown.tsx
@@ -47,7 +47,7 @@ export default class Markdown extends Component
{
const { source, components, data } = this.state.mdObj || {};
return (
-
+
{this.example &&
{this.example}
}