- {displayedAggregations.map((agg) => (
+ {pinnedAggregations.map((agg) => (
handleViewUser(agg)}
/>
))}
+
+ {normalAggregations.map((agg) => (
+ handleViewUser(agg)}
+ />
+ ))}
+
{loading || hasMoreToDisplay ? (
- ) : displayedAggregations.length === 0 ? (
+ ) : aggregations.length === 0 ? (