added email verification
This commit is contained in:
@@ -1,66 +0,0 @@
|
||||
import SortableTable from "../../_components/Table";
|
||||
|
||||
export default async () => {
|
||||
const columns = [
|
||||
{
|
||||
header: "Station",
|
||||
accessorKey: "publicId",
|
||||
},
|
||||
{
|
||||
header: "Einsatz Start",
|
||||
accessorKey: "firstname",
|
||||
},
|
||||
{
|
||||
header: "Einsatz Ende",
|
||||
accessorKey: "lastname",
|
||||
},
|
||||
{
|
||||
header: "Flugzeit",
|
||||
accessorKey: "email",
|
||||
},
|
||||
];
|
||||
|
||||
const data: any[] = [
|
||||
{
|
||||
publicId: "Station 1",
|
||||
firstname: "01.01.2021 12:00",
|
||||
lastname: "01.01.2021 13:04",
|
||||
email: "01h 04m",
|
||||
},
|
||||
{
|
||||
publicId: "Station 1",
|
||||
firstname: "01.01.2021 12:00",
|
||||
lastname: "01.01.2021 13:04",
|
||||
email: "01h 04m",
|
||||
},
|
||||
{
|
||||
publicId: "Station 1",
|
||||
firstname: "01.01.2021 12:00",
|
||||
lastname: "01.01.2021 13:04",
|
||||
email: "01h 04m",
|
||||
},
|
||||
{
|
||||
publicId: "Station 1",
|
||||
firstname: "01.01.2021 12:00",
|
||||
lastname: "01.01.2021 13:04",
|
||||
email: "01h 04m",
|
||||
},
|
||||
{
|
||||
publicId: "Station 1",
|
||||
firstname: "01.01.2021 12:00",
|
||||
lastname: "01.01.2021 13:04",
|
||||
email: "01h 04m",
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<>
|
||||
<SortableTable
|
||||
data={data}
|
||||
columns={columns}
|
||||
showEditButton={false} // Set to true if you want to show edit buttons
|
||||
prismaModel="user" // Pass the prisma model if needed
|
||||
/>
|
||||
</>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user