diff --git a/src/components/Table.tsx b/src/components/Table.tsx index f954116..756600f 100644 --- a/src/components/Table.tsx +++ b/src/components/Table.tsx @@ -32,7 +32,9 @@ const Table: React.FC = ({data:{headers,body}}) => { return ( - {headers.map((e,i)=>)} + + {headers.map((e,i)=>)} + {body.map((row,rowIndex)=>
{e.name}
{e.name}