diff --git a/pages/collections/[id].tsx b/pages/collections/[id].tsx index 2b29068..46d8c7d 100644 --- a/pages/collections/[id].tsx +++ b/pages/collections/[id].tsx @@ -115,35 +115,40 @@ export default function () { -
-
-
- View Team -
- {activeCollection?.members - .sort((a, b) => a.userId - b.userId) - .map((e, i) => { - return ( - -
- -
-
- ); - }) - .slice(0, 4)} - {activeCollection?.members.length && - activeCollection.members.length - 4 > 0 ? ( -
- +{activeCollection?.members?.length - 3} + {activeCollection?.members[0] ? ( +
+
+
+ View Team
- ) : null} + {activeCollection?.members + .sort((a, b) => a.userId - b.userId) + .map((e, i) => { + return ( + +
+ +
+
+ ); + }) + .slice(0, 4)} + {activeCollection?.members.length && + activeCollection.members.length - 4 > 0 ? ( +
+ +{activeCollection?.members?.length - 3} +
+ ) : null} +
-
+ ) : null}