1 parent
8a49501f54
commit
12500c9c6e
2 files changed
+1
-3
No files matched your search
@@ -11,6 +11,7 @@ export const cleanUpPerson = (person: IAPIPerson): IPerson => {
|
|||||||
return {
|
return {
|
||||||
...person,
|
...person,
|
||||||
thumbnailPath: PERSON_THUBNAIL_PATH(person.id),
|
thumbnailPath: PERSON_THUBNAIL_PATH(person.id),
|
||||||
|
|
||||||
birthDate: person.birthDate ? new Date(person.birthDate) : null,
|
birthDate: person.birthDate ? new Date(person.birthDate) : null,
|
||||||
updatedAt: new Date(person.updatedAt),
|
updatedAt: new Date(person.updatedAt),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import PeopleList from "@/components/people/PeopleList";
|
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"] });
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user