diff --git a/docs/introduction.md b/docs/introduction.md index bd72da13..76e0535f 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -15,7 +15,7 @@ import { useVirtualizer } from '@tanstack/react-virtual'; function App() { // The scrollable element for your list - const parentRef = React.useRef() + const parentRef = React.useRef(null) // The virtualizer const rowVirtualizer = useVirtualizer({