fix: build analytics page
This commit is contained in:
parent
7500563cb9
commit
4fe33359e0
|
@ -311,14 +311,14 @@ function InnerAnalytics({ mint }: { mint: MintInfo }) {
|
|||
const [sortedSales, setSortedSales] = useState<number[]>([]);
|
||||
const {
|
||||
metadata,
|
||||
stores,
|
||||
// stores,
|
||||
auctionManagersByAuction,
|
||||
bidderPotsByAuctionAndBidder,
|
||||
auctionDataExtended,
|
||||
} = useMeta();
|
||||
|
||||
const totalNFTs = metadata.length;
|
||||
const totalMarketplaces = Object.values(stores).length;
|
||||
// const totalMarketplaces = Object.values(stores).length;
|
||||
|
||||
const auctionViews = useAuctions();
|
||||
|
||||
|
@ -353,7 +353,8 @@ function InnerAnalytics({ mint }: { mint: MintInfo }) {
|
|||
</Button>
|
||||
<h1>Overview</h1>
|
||||
<h3>
|
||||
Total NFTs: {totalNFTs} Total Marketplaces: {totalMarketplaces}
|
||||
Total NFTs: {totalNFTs}
|
||||
{/* Total Marketplaces: {totalMarketplaces} */}
|
||||
</h3>
|
||||
<h1>User Breakdown</h1>
|
||||
<h3>Any Engagement: {Object.values(usersEngaged).length}</h3>
|
||||
|
|
Loading…
Reference in New Issue