diff --git a/app/lib/definitions.ts b/app/lib/definitions.ts index 52924fc..165d137 100644 --- a/app/lib/definitions.ts +++ b/app/lib/definitions.ts @@ -21,6 +21,7 @@ export type Guest = { name: string; email: string; group_name: string; + status: 'Considered' | 'Invited' | 'Confirmed' | 'Declined'; } export type Group = { diff --git a/app/ui/guests/table.tsx b/app/ui/guests/table.tsx index 2138350..4b0ef60 100644 --- a/app/ui/guests/table.tsx +++ b/app/ui/guests/table.tsx @@ -2,6 +2,7 @@ import { Guest } from '@/app/lib/definitions'; import { useState, Suspense, useEffect } from 'react'; +import clsx from 'clsx'; export default function guestsTable() { @@ -19,7 +20,8 @@ export default function guestsTable() { id: record.id, name: record.attributes.name, email: record.attributes.email, - group_name: record.attributes.group_name + group_name: record.attributes.group_name, + status: record.attributes.status }); })) }); @@ -40,6 +42,9 @@ export default function guestsTable() {