Skip to content

Commit

Permalink
Updates faker method
Browse files Browse the repository at this point in the history
`.name` is no longer supported
  • Loading branch information
schalkventer authored Nov 28, 2024
1 parent 15e4d94 commit 21ea5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/react/sticky/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type { Range } from '@tanstack/react-virtual'

const groupedNames = groupBy(
Array.from({ length: 1000 })
.map(() => faker.name.firstName())
.map(() => faker.person.firstName())
.sort(),
(name) => name[0],
)
Expand Down

0 comments on commit 21ea5d5

Please sign in to comment.