From 0129845ec029253cb13829f4bc31f2da0a21ce19 Mon Sep 17 00:00:00 2001 From: bgravenorst Date: Mon, 13 Apr 2026 12:02:37 +1000 Subject: [PATCH] remove FIN ai. Signed-off-by: bgravenorst --- package.json | 1 - src/theme/Footer/index.js | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/package.json b/package.json index 0857fbc3726..bb53940c932 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "@docusaurus/remark-plugin-npm2yarn": "3.9.2", "@docusaurus/theme-common": "3.9.2", "@docusaurus/theme-mermaid": "3.9.2", - "@intercom/messenger-js-sdk": "^0.0.14", "@lottiefiles/react-lottie-player": "^3.6.0", "@mdx-js/react": "^3.1.0", "@mermaid-js/layout-elk": "^0.1.9", diff --git a/src/theme/Footer/index.js b/src/theme/Footer/index.js index 2c5acbb91d7..c0911fe1d9a 100644 --- a/src/theme/Footer/index.js +++ b/src/theme/Footer/index.js @@ -1,7 +1,5 @@ import React, { useEffect, useState } from 'react' import Footer from '@theme-original/Footer' -import { Intercom } from '@intercom/messenger-js-sdk' -import useIsBrowser from '@docusaurus/useIsBrowser' export default function FooterWrapper(props) { const [canShowFooter, setCanShowFooter] = useState(true) @@ -21,7 +19,6 @@ export default function FooterWrapper(props) { useEffect(() => { if (typeof window !== 'undefined') { - // check if footer can be shown const path = window.location.pathname if (path.includes('quickstart')) { setCanShowFooter(false) @@ -29,14 +26,6 @@ export default function FooterWrapper(props) { } }, []) - const isBrowser = useIsBrowser() - const isProd = process.env.NODE_ENV === 'production' - if (isBrowser && isProd) { - Intercom({ - app_id: 'txttgas6', - }) - } - if (!canShowFooter) return null return (