@growth-operations/ui-shared 1.35.0 → 1.36.0

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.35.0",
3
+ "version": "1.36.0",
4
4
  "description": "Shared HubSpot UI-extension modules (Home, Billing) for Growth Operations apps.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -12,7 +12,6 @@
12
12
  // supportPath — the app's support route path, e.g.
13
13
  // "/v1/hubspot/app_pages/<app_key>/support" (base-hosted) or
14
14
  // "/api/v1/support" (self-hosted).
15
- // appName — display name, used in headings/success copy.
16
15
  // supportUrl — external support link shown as a fallback on error.
17
16
  import React, { useState } from "react";
18
17
  import {
@@ -37,7 +36,7 @@ import {
37
36
  validateSupportFields,
38
37
  } from "./supportLogic";
39
38
 
40
- export function SupportTab({ context, supportPath, appName = "the app", supportUrl }) {
39
+ export function SupportTab({ context, supportPath, supportUrl }) {
41
40
  const [fields, setFields] = useState({
42
41
  firstname: context.user?.firstName ?? "",
43
42
  lastname: context.user?.lastName ?? "",
@@ -115,17 +114,14 @@ export function SupportTab({ context, supportPath, appName = "the app", supportU
115
114
  return (
116
115
  <Flex direction="column" gap="medium">
117
116
  <Flex direction="column" gap="small">
118
- <Heading>Contact {appName} support</Heading>
117
+ <Heading>Contact Us</Heading>
119
118
  <Text>
120
- Send us a message and we'll get back to you. For urgent issues you
121
- can also{" "}
122
- {supportUrl ? (
123
- <Link href={{ url: supportUrl, external: true }}>
124
- use our contact page
125
- </Link>
126
- ) : (
127
- "use our contact page"
128
- )}
119
+ Or shoot us your question at{" "}
120
+ <Link
121
+ href={{ url: "mailto:info@growthoperationsco.com", external: true }}
122
+ >
123
+ info@growthoperationsco.com
124
+ </Link>
129
125
  .
130
126
  </Text>
131
127
  </Flex>