fix: build fixes

Signed-off-by: Varun Raj <mailme@varunraj.in>
This commit is contained in:
Varun Raj committed 2024-08-21 22:43:25 +05:30
1 parent 8a49501f54
commit 12500c9c6e
2 files changed
+1 -3

No files matched your search

+1
View File
@@ -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),
} }
-3
View File
@@ -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"] });