diff --git a/components/statistic/Statistic.tsx b/components/statistic/Statistic.tsx index 3d9e764a1a..05843128f9 100644 --- a/components/statistic/Statistic.tsx +++ b/components/statistic/Statistic.tsx @@ -54,7 +54,7 @@ const Statistic: React.FC = props => { return (
{title &&
{title}
} - +
{prefix && {prefix}} {valueRender ? valueRender(valueNode) : valueNode} diff --git a/components/statistic/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/statistic/__tests__/__snapshots__/demo-extend.test.ts.snap index 5fe892af96..ce77558e64 100644 --- a/components/statistic/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/statistic/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -86,7 +86,7 @@ exports[`renders ./components/statistic/demo/basic.md extend context correctly 1 Active Users