@growth-operations/ui-shared 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@growth-operations/ui-shared",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Shared HubSpot UI-extension modules (Home, Billing) for Growth Operations apps.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -333,9 +333,14 @@ function CreditsBilling({ context, state, appKey }) {
333
333
  </LoadingButton>
334
334
  ))}
335
335
 
336
- <Text format={{ fontStyle: "italic" }}>
337
- Billing is managed in Stripe across all Growth Operations apps.
338
- </Text>
336
+ {/* Footer note only when PlanGrid isn't rendering one (PlanGrid owns the
337
+ canonical "managed in Stripe" line when plans are present — avoid
338
+ showing it twice). */}
339
+ {!hasPlans && (
340
+ <Text format={{ fontStyle: "italic" }}>
341
+ Billing is managed in Stripe across all Growth Operations apps.
342
+ </Text>
343
+ )}
339
344
  </Flex>
340
345
  );
341
346
  }