From 1fdd45ef109716bf41eadbefa5530ae1318ed3d3 Mon Sep 17 00:00:00 2001 From: linercoder <113076614+linercoder@users.noreply.github.com> Date: Tue, 21 Feb 2023 17:59:18 +0800 Subject: [PATCH] doc: replace the printed value (#40847) Co-authored-by: linercoder --- components/steps/demo/clickable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/steps/demo/clickable.tsx b/components/steps/demo/clickable.tsx index 3476471dce..813ce69679 100644 --- a/components/steps/demo/clickable.tsx +++ b/components/steps/demo/clickable.tsx @@ -5,7 +5,7 @@ const App: React.FC = () => { const [current, setCurrent] = useState(0); const onChange = (value: number) => { - console.log('onChange:', current); + console.log('onChange:', value); setCurrent(value); }; const description = 'This is a description.';