diff --git a/src/app/portfolio/[uid]/page.tsx b/src/app/portfolio/[uid]/page.tsx index 4a362d2..4dee08c 100644 --- a/src/app/portfolio/[uid]/page.tsx +++ b/src/app/portfolio/[uid]/page.tsx @@ -98,7 +98,6 @@ export default async function Portfolio({ params }: { params: { uid: string } }) ? await Promise.all(deals.map(async (item) => await getBusinessTypeName(supabase, item.project_id))) : []; const countedBusinessType = countValues(businessType.filter((item) => item !== null)); - console.table(deals); return (
@@ -189,8 +188,8 @@ export default async function Portfolio({ params }: { params: { uid: string } })
-
- +
+ Categories of Invested Projects @@ -215,7 +214,7 @@ export default async function Portfolio({ params }: { params: { uid: string } }) /> - + Types of Businesses Invested In @@ -240,7 +239,7 @@ export default async function Portfolio({ params }: { params: { uid: string } }) /> - + Recent investment diff --git a/src/components/ProjectSection.tsx b/src/components/ProjectSection.tsx index 92dbd06..13b41ad 100644 --- a/src/components/ProjectSection.tsx +++ b/src/components/ProjectSection.tsx @@ -20,7 +20,7 @@ export function ProjectSection({ projectsData }: { projectsData: ProjectCardProp } return ( -
+
{projectsData.map((project) => (
diff --git a/src/components/dataTable.tsx b/src/components/dataTable.tsx index 4b440e4..195aea8 100644 --- a/src/components/dataTable.tsx +++ b/src/components/dataTable.tsx @@ -177,8 +177,8 @@ export function DataTable({ data }: { data: ModalProps[] }) { const [columnVisibility, setColumnVisibility] = React.useState({}); const [rowSelection, setRowSelection] = React.useState({}); const [pagination, setPagination] = React.useState({ - pageIndex: 0, //initial page index - pageSize: 5, //default page size + pageIndex: 0, + pageSize: 5, }); const table = useReactTable({