Skip to content

Commit

Permalink
Revert "feat(docs): act-1453 - added intercom widget (#1417)"
Browse files Browse the repository at this point in the history
This reverts commit 16ed267.
  • Loading branch information
joshuafernandes committed Jul 18, 2024
1 parent 47d4f2a commit b3c715f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"@docusaurus/plugin-content-docs": "^3.0.0",
"@docusaurus/theme-common": "^3.0.0",
"@docusaurus/theme-mermaid": "^3.0.0",
"@intercom/messenger-js-sdk": "^0.0.11",
"@mdx-js/react": "^3.0.0",
"@metamask/design-tokens": "^1.11.1",
"@metamask/docusaurus-openrpc": "^0.4.1",
Expand Down Expand Up @@ -109,4 +108,4 @@
"@metamask/sdk-react>@metamask/sdk>eciesjs>secp256k1": false
}
}
}
}
10 changes: 0 additions & 10 deletions src/theme/Footer/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import React, { useEffect } 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) {
useEffect(() => {
Expand All @@ -16,14 +14,6 @@ export default function FooterWrapper(props) {
cookieBtn.removeEventListener("click", handleManageCookie);
};
}, []);

const isBrowser = useIsBrowser();
if (isBrowser) {
Intercom({
app_id: 'txttgas6'
});
}

return (
<>
<Footer {...props} />
Expand Down
8 changes: 0 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2597,13 +2597,6 @@ __metadata:
languageName: node
linkType: hard

"@intercom/messenger-js-sdk@npm:^0.0.11":
version: 0.0.11
resolution: "@intercom/messenger-js-sdk@npm:0.0.11"
checksum: 1b89cdfab5d332900101d9d9439fbbf654777c4d17027a654aa0a31d53bf6e9e3c08c7faa7939eed8c1b75a8b36ee6a93d05bf7bddd81edb4aae91a8f1939162
languageName: node
linkType: hard

"@isaacs/cliui@npm:^8.0.2":
version: 8.0.2
resolution: "@isaacs/cliui@npm:8.0.2"
Expand Down Expand Up @@ -13367,7 +13360,6 @@ __metadata:
"@docusaurus/theme-mermaid": ^3.0.0
"@docusaurus/tsconfig": ^3.4.0
"@docusaurus/types": ^3.4.0
"@intercom/messenger-js-sdk": ^0.0.11
"@lavamoat/allow-scripts": ^3.0.4
"@mdx-js/react": ^3.0.0
"@metamask/design-tokens": ^1.11.1
Expand Down

0 comments on commit b3c715f

Please sign in to comment.