Skip to content

Commit f03f84c

Browse files
committed
docs: update README.md
1 parent 7f8b766 commit f03f84c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ const config: LineChartProps = {
5959
}
6060

6161
export default () => {
62-
const ref = useRef()
63-
return <LineChart {...config} ref={ref} />
62+
const chartRef = useRef()
63+
return <LineChart {...config} ref={chartRef} />
6464
}
6565
```
6666

0 commit comments

Comments
 (0)