{name ?? "No name provided"}
{email && (
{email ?? ""}
)}
);
},
},
{
accessorKey: "consentGiven",
header: ({ column }) => (
{formatDistanceToNow(date ?? new Date(), { addSuffix: true })}
);
},
},
{
id: "actions",
header: "Actions",
cell: ({ row }) =>