diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..a279dd6 Binary files /dev/null and b/bun.lockb differ diff --git a/package.json b/package.json index 1ebdbe3..0a8de1b 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "@radix-ui/react-label": "^2.1.0", "@radix-ui/react-popover": "^1.1.1", "@radix-ui/react-scroll-area": "^1.1.0", + "@radix-ui/react-select": "^2.1.1", "@radix-ui/react-slot": "^1.1.0", "@radix-ui/react-switch": "^1.1.0", "@radix-ui/react-toast": "^1.2.1", diff --git a/src/helpers/person.helper.ts b/src/helpers/person.helper.ts index 9d2ec8f..8002fa6 100644 --- a/src/helpers/person.helper.ts +++ b/src/helpers/person.helper.ts @@ -10,9 +10,7 @@ interface IAPIPerson extends Omit { export const cleanUpPerson = (person: IAPIPerson, skipMock?: boolean): IPerson => { return { ...person, - // thumbnailPath: PERSON_THUBNAIL_PATH(person.id), - thumbnailPath: person.name === "Varun Raj" || skipMock === true ? PERSON_THUBNAIL_PATH(person.id) : "https://i.pravatar.cc/150?u=" + person.id, - + thumbnailPath: PERSON_THUBNAIL_PATH(person.id), birthDate: person.birthDate ? new Date(person.birthDate) : null, updatedAt: new Date(person.updatedAt), }