From 7c0cd761988b69ec527716c8d8047c19929f849e Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 3 Nov 2024 10:39:02 +0100 Subject: [PATCH] Remove references to the user email --- app/lib/definitions.ts | 9 --------- app/ui/guests/table.tsx | 7 ------- 2 files changed, 16 deletions(-) diff --git a/app/lib/definitions.ts b/app/lib/definitions.ts index 110dcd2..4a4c652 100644 --- a/app/lib/definitions.ts +++ b/app/lib/definitions.ts @@ -21,15 +21,6 @@ export type Customer = { export type Guest = { id: string; name: string; - email?: string; - group_name?: string; - status?: 'Considered' | 'Invited' | 'Confirmed' | 'Declined' | 'Tentative'; -} - -export type Banana = { - id: string; - name: string; - email?: string; group_name?: string; status?: 'Considered' | 'Invited' | 'Confirmed' | 'Declined' | 'Tentative'; } diff --git a/app/ui/guests/table.tsx b/app/ui/guests/table.tsx index 7590738..e731055 100644 --- a/app/ui/guests/table.tsx +++ b/app/ui/guests/table.tsx @@ -19,7 +19,6 @@ export default function guestsTable() { return ({ id: record.id, name: record.attributes.name, - email: record.attributes.email, group_name: record.attributes.group_name, status: record.attributes.status }); @@ -64,9 +63,6 @@ export default function guestsTable() { Name - - Email - Group @@ -82,9 +78,6 @@ export default function guestsTable() { {guest.name} - - {guest.email} - {guest.group_name}