Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

remove intergram

Blue Mouseb4d296f85003
diff --git a/app/pages/Contact/index.tsx b/app/pages/Contact/index.tsx
index 7b0a73130..4f8863edb 100644
--- a/app/pages/Contact/index.tsx
+++ b/app/pages/Contact/index.tsx
@@ -1,5 +1,5 @@
/* eslint-disable jsx-a11y/anchor-has-content */
-import React, { useEffect } from 'react'
+import React from 'react'
import { useTranslation, Trans } from 'react-i18next'
import {
@@ -11,22 +11,6 @@ const Contact = (): JSX.Element => {
t: (key: string) => string
} = useTranslation('common')
- useEffect(() => {
- const intergram = document.querySelector('#intergramPlaceholder')
-
- if (!intergram) {
- return () => {}
- }
-
- intergram.classList.remove('hidden')
- intergram.classList.add('flex')
-
- return () => {
- intergram.classList.remove('flex')
- intergram.classList.add('hidden')
- }
- }, [])
-
return (
<div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'>
<div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8 whitespace-pre-line'>
@@ -39,7 +23,7 @@ const Contact = (): JSX.Element => {
<ol className='list-decimal ml-5 sm:ml-10'>
<li className='mt-1'>
<Trans
- // @ts-ignore
+ // @ts-ignore
t={t}
i18nKey='contact.ways.email'
values={{ email: CONTACT_EMAIL }}
@@ -50,7 +34,7 @@ const Contact = (): JSX.Element => {
</li>
<li className='mt-1'>
<Trans
- // @ts-ignore
+ // @ts-ignore
t={t}
i18nKey='contact.ways.twitter'
values={{ twitter: TWITTER_USERNAME }}
@@ -61,7 +45,7 @@ const Contact = (): JSX.Element => {
</li>
<li className='mt-1'>
<Trans
- // @ts-ignore
+ // @ts-ignore
t={t}
i18nKey='contact.ways.discord'
components={{
@@ -69,9 +53,6 @@ const Contact = (): JSX.Element => {
}}
/>
</li>
- <li className='mt-1'>
- {t('contact.ways.chat')}
- </li>
</ol>
</div>
</div>
diff --git a/public/locales/en.json b/public/locales/en.json
index decf7935d..57fb30286 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -814,8 +814,7 @@
"ways": {
"email": "You can drop us an email at <mail>{{email}}</mail>",
"twitter": "Tweet or message us at <url>{{twitter}}</url>",
- "discord": "Join our Discord server by following <url>this link</url>",
- "chat": "Use a chatbox located on the bottom right of this page"
+ "discord": "Join our Discord server by following <url>this link</url>"
}
},
"beta": {