From ed5a0f4d9f900abe6d26fcd0494ac7074f6d6996 Mon Sep 17 00:00:00 2001 From: Benny Date: Sat, 26 Aug 2023 13:08:17 +0200 Subject: [PATCH] Revert "add crisp" This reverts commit d2d2a5cdf69fff7368a4ed8d0c4e5e16ffad7676. --- package.json | 1 - src/layout/frame/Header.tsx | 6 ------ yarn.lock | 5 ----- 3 files changed, 12 deletions(-) diff --git a/package.json b/package.json index 3fd8370..3dd6408 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "bowser": "^2.11.0", "clsx": "^1.2.1", "compressorjs": "^1.2.0", - "crisp-sdk-web": "^1.0.19", "dayjs": "^1.11.7", "formik": "^2.2.9", "http-proxy-middleware": "^2.0.0", diff --git a/src/layout/frame/Header.tsx b/src/layout/frame/Header.tsx index 1bac927..b8e467b 100644 --- a/src/layout/frame/Header.tsx +++ b/src/layout/frame/Header.tsx @@ -14,7 +14,6 @@ import { Divider, Tooltip, } from "@material-ui/core"; -import { Crisp } from "crisp-sdk-web"; import { AccountCircle, GitHub, Search, QuestionAnswer } from "@material-ui/icons"; import { Link, useLocation } from "react-router-dom"; import { usePopupState, bindTrigger, bindMenu } from "material-ui-popup-state/hooks"; @@ -57,12 +56,7 @@ const useStyles = makeStyles((theme: Theme) => ); export function Header() { - const crispID = process.env.REACT_APP_CRISP; - if (crispID) { - Crisp.configure(crispID); - } const location = useLocation(); - const { enqueueSnackbar } = useSnackbar(); const { username } = useAuth(); const dispatch = useAppDispatch(); diff --git a/yarn.lock b/yarn.lock index 6d38249..872f0ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4844,11 +4844,6 @@ create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: safe-buffer "^5.0.1" sha.js "^2.4.8" -crisp-sdk-web@^1.0.19: - version "1.0.19" - resolved "https://registry.yarnpkg.com/crisp-sdk-web/-/crisp-sdk-web-1.0.19.tgz#83213f18d4fbd1eb185eb3fbaffb948b7fdd99d5" - integrity sha512-kV/MyXVnQrVUwO9Stb7bUYr34BnslVhb5UZTUAa/qz1LvTrKtCBu5SYHyIYDiC29CHKrVXPenVyerpH/ZvuF/g== - cross-spawn@7.0.3, cross-spawn@^7.0.0, cross-spawn@^7.0.2: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"