diff --git a/src/app/portfolio/[slug]/components/propertyTableColumns.tsx b/src/app/portfolio/[slug]/components/propertyTableColumns.tsx index 0a2cc810..7788dd13 100644 --- a/src/app/portfolio/[slug]/components/propertyTableColumns.tsx +++ b/src/app/portfolio/[slug]/components/propertyTableColumns.tsx @@ -139,8 +139,6 @@ export const columns: ColumnDef[] = [ accessorKey: "currentEpc", header: () =>
Current EPC Rating
, cell: ({ row }) => { - console.log(row.original.currentEpcRating); - return (
{} diff --git a/src/app/utils.ts b/src/app/utils.ts index a8b1ccfa..c227756c 100644 --- a/src/app/utils.ts +++ b/src/app/utils.ts @@ -80,8 +80,8 @@ export const serializeBigInt = (_: any, value: any): string | any => { }; export function sapToEpc(sapPoints: number): string { - if (sapPoints <= 0 || sapPoints > 100) { - throw new Error("SAP points should be between 1 and 100."); + if (sapPoints <= 0) { + throw new Error("SAP points should be above 0."); } if (sapPoints >= 92) {