adding pilot

This commit is contained in:
2024-09-01 20:37:07 -05:00
parent 1cc85c7396
commit ae8e407bce

View File

@@ -144,6 +144,7 @@ const Pilots: React.FC<unknown> = () => {
]; ];
return ( return (
<>
<div className="grid grid-cols-1 gap-4 w-full rounded-xl py-4 px-8 shadow-md backdrop-saturate-200 backdrop-blur-2xl bg-opacity-80 border border-white/80 bg-white mt-6"> <div className="grid grid-cols-1 gap-4 w-full rounded-xl py-4 px-8 shadow-md backdrop-saturate-200 backdrop-blur-2xl bg-opacity-80 border border-white/80 bg-white mt-6">
<div className="col-span-1"> <div className="col-span-1">
<Typography variant="h2">Pilots</Typography> <Typography variant="h2">Pilots</Typography>
@@ -159,14 +160,13 @@ const Pilots: React.FC<unknown> = () => {
Add Pilot Add Pilot
</Button> </Button>
</div> </div>
<Table defaultData={data} columns={columns}></Table>
</div>
<PilotForm <PilotForm
isDrawerOpen={isDrawerOpen} isDrawerOpen={isDrawerOpen}
onOpenCloseDrawer={onOpenCloseDrawer} onOpenCloseDrawer={onOpenCloseDrawer}
/> />
</>
<Table defaultData={data} columns={columns}></Table>
</div>
); );
}; };