diff --git a/src/nft/components/explore/CollectionTable.tsx b/src/nft/components/explore/CollectionTable.tsx index 045a969bf4..1576dcc810 100644 --- a/src/nft/components/explore/CollectionTable.tsx +++ b/src/nft/components/explore/CollectionTable.tsx @@ -23,8 +23,8 @@ const compareFloats = (a: number, b: number): 1 | -1 => { const CollectionTable = ({ data }: { data: CollectionTableColumn[] }) => { const floorSort = useMemo(() => { return (rowA: Row, rowB: Row) => { - const aFloor = BigNumber.from(rowA.original.floor.value) - const bFloor = BigNumber.from(rowB.original.floor.value) + const aFloor = BigNumber.from(rowA.original.floor.value ?? 0) + const bFloor = BigNumber.from(rowB.original.floor.value ?? 0) return aFloor.gte(bFloor) ? 1 : -1 }