Skip to content

Commit

Permalink
fix: correct key for getVirtualItems memo (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenyou committed Aug 9, 2024
1 parent 3ad3895 commit 895cde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/virtual-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ export class Virtualizer<
return virtualItems
},
{
key: process.env.NODE_ENV !== 'production' && 'getIndexes',
key: process.env.NODE_ENV !== 'production' && 'getVirtualItems',
debug: () => this.options.debug,
},
)
Expand Down

0 comments on commit 895cde5

Please sign in to comment.