diff --git a/src/actions/import.actions.ts b/src/actions/import.actions.ts index cdad538..c073b8f 100644 --- a/src/actions/import.actions.ts +++ b/src/actions/import.actions.ts @@ -123,7 +123,7 @@ export async function importItems(formData: ImportFormType) { file: [ "Only one of category or categoryId is allowed, you must select one of them", ], - } + }, } } @@ -342,4 +342,4 @@ export async function importItems(formData: ImportFormType) { success: true, message: "Items imported successfully!", } -} \ No newline at end of file +} diff --git a/src/actions/person.actions.ts b/src/actions/person.actions.ts index 5c5b553..6b074c1 100644 --- a/src/actions/person.actions.ts +++ b/src/actions/person.actions.ts @@ -94,4 +94,4 @@ export async function updatePerson(formData: UpdatePersonFormType) { message: copy.actions.updateFailure, } } -} \ No newline at end of file +} diff --git a/src/actions/person.messages.ts b/src/actions/person.messages.ts index a1f5e8f..fc60ab6 100644 --- a/src/actions/person.messages.ts +++ b/src/actions/person.messages.ts @@ -35,4 +35,4 @@ export function localizePersonFieldErrors( messages.map((message) => localizePersonMessage(message, copy)), ]), ) -} \ No newline at end of file +} diff --git a/src/app/(dashboard)/(home)/page.tsx b/src/app/(dashboard)/(home)/page.tsx index a40ed19..2208fd0 100644 --- a/src/app/(dashboard)/(home)/page.tsx +++ b/src/app/(dashboard)/(home)/page.tsx @@ -1,7 +1,7 @@ import { getI18n } from "@/i18n/server" import { AssetService } from "@/services/asset.service" import { ItemService } from "@/services/item.service" -import { RecipientService } from "@/services/recipient.service" +import { PersonService } from "@/services/person.service" import Card from "./_components/card" @@ -10,7 +10,7 @@ export default async function Home() { const copy = dictionary.dashboardHome const totalItems = await ItemService.findAllItemsCount() const totalAssets = await AssetService.findAllAssetsCount() - const totalRecipients = await RecipientService.findAllRecipientsCount() + const totalPeople = await PersonService.findAllPeopleCount() return (