Skip to content

Commit

Permalink
fix: @faker-js/faker deprecation - replace faker.image.nature with fa…
Browse files Browse the repository at this point in the history
…ker.image.urlLoremFlickr and faker.name with faker.person (#1397)
  • Loading branch information
devAlisha committed Nov 28, 2023
1 parent 7a0b46e commit a59fe6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/utils/fakeUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const THRESHOLD = 10000;

export const users = Array.from(Array(THRESHOLD), () => {
return {
name: faker.name.fullName(),
name: faker.person.fullName(),
avatar: faker.image.avatar(),
background: faker.image.nature()
background: faker.image.urlLoremFlickr({ category: 'nature' })
};
});

0 comments on commit a59fe6d

Please sign in to comment.