@@ -11,6 +11,7 @@ export const cleanUpPerson = (person: IAPIPerson): IPerson => {
|
||||
return {
|
||||
...person,
|
||||
thumbnailPath: PERSON_THUBNAIL_PATH(person.id),
|
||||
|
||||
birthDate: person.birthDate ? new Date(person.birthDate) : null,
|
||||
updatedAt: new Date(person.updatedAt),
|
||||
}
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import { Inter } from "next/font/google";
|
||||
import PeopleList from "@/components/people/PeopleList";
|
||||
import PageLayout from "@/components/layouts/PageLayout";
|
||||
import Header from "@/components/shared/Header";
|
||||
import { PeoplePagination } from "@/components/people/PeoplePagination";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user