Skip to content

Commit

Permalink
Revert "add crisp"
Browse files Browse the repository at this point in the history
This reverts commit d2d2a5c.
  • Loading branch information
BennyThink committed Aug 26, 2023
1 parent d2d2a5c commit ed5a0f4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 0 additions & 6 deletions src/layout/frame/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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();
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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==

[email protected], 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"
Expand Down

0 comments on commit ed5a0f4

Please sign in to comment.