From 21ea5d5c92636de1b56747f6e859757389b161da Mon Sep 17 00:00:00 2001 From: Schalk Venter Date: Thu, 28 Nov 2024 16:50:02 +0200 Subject: [PATCH] Updates faker method `.name` is no longer supported --- examples/react/sticky/src/main.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/react/sticky/src/main.tsx b/examples/react/sticky/src/main.tsx index 00dbd8e7..50c242aa 100644 --- a/examples/react/sticky/src/main.tsx +++ b/examples/react/sticky/src/main.tsx @@ -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], )