diff --git a/frontend/app/components/Onboarding/Onboarding.js b/frontend/app/components/Onboarding/Onboarding.js index 64e09b19f..9ad9c995b 100644 --- a/frontend/app/components/Onboarding/Onboarding.js +++ b/frontend/app/components/Onboarding/Onboarding.js @@ -43,11 +43,7 @@ const Onboarding = (props) => {
-
- -
- {/* */}
diff --git a/frontend/app/components/Onboarding/components/SideMenu.js b/frontend/app/components/Onboarding/components/SideMenu.js index ab49d97f3..893fb75b7 100644 --- a/frontend/app/components/Onboarding/components/SideMenu.js +++ b/frontend/app/components/Onboarding/components/SideMenu.js @@ -34,12 +34,6 @@ export default function SideMenu() { iconName="github" onClick={() => window.open('https://github.com/openreplay/openreplay/issues', '_blank')} /> - - $crisp.push(['do', 'chat:open']) } - />
) } diff --git a/frontend/app/components/shared/Crisp/Crisp.js b/frontend/app/components/shared/Crisp/Crisp.js deleted file mode 100644 index fc7b61bfb..000000000 --- a/frontend/app/components/shared/Crisp/Crisp.js +++ /dev/null @@ -1,31 +0,0 @@ -import React from 'react'; - -class Crisp extends React.Component { - componentDidMount () { - if (!!window.$crisp) { - window.$crisp.push(['do', 'chat:show']); - } else { - window.$crisp = []; - window.CRISP_WEBSITE_ID = "adc74d6f-70c5-4947-bdf1-c359f3becfaf"; - - (function() { - var d = document; - var s = d.createElement("script"); - - s.src = "https://client.crisp.chat/l.js"; - s.async = 1; - d.getElementById("crisp-chat").appendChild(s); - })(); - } - } - - componentWillUnmount() { - window.$crisp.push(['do', 'chat:hide']); - } - - render () { - return null; - } -} - -export default Crisp; \ No newline at end of file diff --git a/frontend/app/components/shared/Crisp/index.js b/frontend/app/components/shared/Crisp/index.js deleted file mode 100644 index caf3f17a9..000000000 --- a/frontend/app/components/shared/Crisp/index.js +++ /dev/null @@ -1 +0,0 @@ -export { default } from './Crisp' \ No newline at end of file