Remove references to the user email #84
@ -21,15 +21,6 @@ export type Customer = {
|
|||||||
export type Guest = {
|
export type Guest = {
|
||||||
id: string;
|
id: string;
|
||||||
name: 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;
|
group_name?: string;
|
||||||
status?: 'Considered' | 'Invited' | 'Confirmed' | 'Declined' | 'Tentative';
|
status?: 'Considered' | 'Invited' | 'Confirmed' | 'Declined' | 'Tentative';
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,6 @@ export default function guestsTable() {
|
|||||||
return ({
|
return ({
|
||||||
id: record.id,
|
id: record.id,
|
||||||
name: record.attributes.name,
|
name: record.attributes.name,
|
||||||
email: record.attributes.email,
|
|
||||||
group_name: record.attributes.group_name,
|
group_name: record.attributes.group_name,
|
||||||
status: record.attributes.status
|
status: record.attributes.status
|
||||||
});
|
});
|
||||||
@ -64,9 +63,6 @@ export default function guestsTable() {
|
|||||||
<th scope="col" className="px-6 py-3">
|
<th scope="col" className="px-6 py-3">
|
||||||
Name
|
Name
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-6 py-3">
|
|
||||||
Email
|
|
||||||
</th>
|
|
||||||
<th scope="col" className="px-6 py-3">
|
<th scope="col" className="px-6 py-3">
|
||||||
Group
|
Group
|
||||||
</th>
|
</th>
|
||||||
@ -82,9 +78,6 @@ export default function guestsTable() {
|
|||||||
<th scope="row" className="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white">
|
<th scope="row" className="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white">
|
||||||
{guest.name}
|
{guest.name}
|
||||||
</th>
|
</th>
|
||||||
<td className="px-6 py-4">
|
|
||||||
{guest.email}
|
|
||||||
</td>
|
|
||||||
<td className="px-6 py-4">
|
<td className="px-6 py-4">
|
||||||
{guest.group_name}
|
{guest.group_name}
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user