diff --git a/.changelog/648.internal.md b/.changelog/648.internal.md new file mode 100644 index 000000000..023927c3a --- /dev/null +++ b/.changelog/648.internal.md @@ -0,0 +1 @@ +Remove feedback form from banner on staging diff --git a/src/app/components/BuildBanner/index.tsx b/src/app/components/BuildBanner/index.tsx index ca971ef24..37fd6288c 100644 --- a/src/app/components/BuildBanner/index.tsx +++ b/src/app/components/BuildBanner/index.tsx @@ -1,8 +1,5 @@ import { FC } from 'react' import { useTranslation } from 'react-i18next' -import { Link as RouterLink } from 'react-router-dom' -import Link from '@mui/material/Link' -import * as externalLinks from '../../utils/externalLinks' import { deploys } from '../../../config' import { StickyAlert } from '../StickyAlert' @@ -16,19 +13,7 @@ export const BuildBanner: FC = () => { return null } if (window.location.origin === deploys.staging) { - return ( - - {t('banner.buildStaging')} - - {externalLinks.feedback.internalForm} - - - ) + return {t('banner.buildStaging')} } return {t('banner.buildPreview')} } diff --git a/src/app/utils/externalLinks.ts b/src/app/utils/externalLinks.ts index 1b22e7a0b..4077642f2 100644 --- a/src/app/utils/externalLinks.ts +++ b/src/app/utils/externalLinks.ts @@ -24,10 +24,6 @@ export const docs = { export const referrals = { coinGecko: 'https://www.coingecko.com' } -export const feedback = { - internalForm: 'https://forms.gle/456sjk9VXhhKkVz19', -} - const githubLink = 'https://github.com/oasisprotocol/explorer/' export const github = { home: githubLink, diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 7039ebdf0..7641c0134 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -24,7 +24,7 @@ "gasUsed": "{{value, number}} | {{percentage, number}}" }, "banner": { - "buildStaging": "Please note this is an internal launch meant to gather your feedback. Please share your feedback with screenshots through this from: ", + "buildStaging": "Please note this is an internal launch meant to gather your feedback.", "buildPreview": "Please note this is an experimental build of Oasis Explorer and that data that is shown might be incorrect." }, "clipboard": {