diff --git a/client/a8c-for-agencies/hooks/use-wpcom-owned-sites.ts b/client/a8c-for-agencies/hooks/use-wpcom-owned-sites.ts index 1948cd2349f98d..057ea297df1255 100644 --- a/client/a8c-for-agencies/hooks/use-wpcom-owned-sites.ts +++ b/client/a8c-for-agencies/hooks/use-wpcom-owned-sites.ts @@ -50,7 +50,10 @@ export default function useWPCOMOwnedSites() { return { count: isReady ? licenses.filter( - ( license ) => license.productId === creatorPlan?.product_id && ! license.referral // We make sure we do not count referrals + ( license ) => + license.productId === creatorPlan?.product_id && + ! license.referral && // We make sure we do not count referrals + ! license.meta?.isDevSite // And also a dev site ).length : 0, isReady,