Skip to content

Commit

Permalink
examples: fixed typescript type error in fixed height react virtual e…
Browse files Browse the repository at this point in the history
…xample (#547)
  • Loading branch information
fallenleavesguy committed Aug 29, 2023
1 parent 4392822 commit a7b6342
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/react/fixed/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function App() {
}

function RowVirtualizerFixed() {
const parentRef = React.useRef()
const parentRef = React.useRef(null)

const rowVirtualizer = useVirtualizer({
count: 10000,
Expand Down Expand Up @@ -90,7 +90,7 @@ function RowVirtualizerFixed() {
}

function ColumnVirtualizerFixed() {
const parentRef = React.useRef()
const parentRef = React.useRef(null)

const columnVirtualizer = useVirtualizer({
horizontal: true,
Expand Down Expand Up @@ -143,7 +143,7 @@ function ColumnVirtualizerFixed() {
}

function GridVirtualizerFixed() {
const parentRef = React.useRef()
const parentRef = React.useRef(null)

const rowVirtualizer = useVirtualizer({
count: 10000,
Expand Down

0 comments on commit a7b6342

Please sign in to comment.