diff --git a/package-lock.json b/package-lock.json index 9dcd137..594cdb1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,6 @@ "@yudiel/react-qr-scanner": "^1.1.10", "antd": "^5.10.3", "buffer": "^6.0.3", - "hellojs": "^1.20.0", "i18next": "^23.2.3", "i18next-browser-languagedetector": "^7.1.0", "i18next-http-backend": "^2.2.1", @@ -11174,11 +11173,6 @@ "he": "bin/he" } }, - "node_modules/hellojs": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/hellojs/-/hellojs-1.20.0.tgz", - "integrity": "sha512-zfZGRt0J0OpJHnw2GJz4uh+rzMNAMWpIymiaRbSmCqCvqDMLSx2/qR5JucqnHPsZHUEjyKj5aLJ8K54kyHHjLQ==" - }, "node_modules/hoopy": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz", diff --git a/package.json b/package.json index 3134b39..d57f14a 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "@yudiel/react-qr-scanner": "^1.1.10", "antd": "^5.10.3", "buffer": "^6.0.3", - "hellojs": "^1.20.0", "i18next": "^23.2.3", "i18next-browser-languagedetector": "^7.1.0", "i18next-http-backend": "^2.2.1", diff --git a/src/Pages/Store/Calendar/index.js b/src/Pages/Store/Calendar/index.js index acc6a00..9f485d4 100644 --- a/src/Pages/Store/Calendar/index.js +++ b/src/Pages/Store/Calendar/index.js @@ -1,53 +1,15 @@ import { Button } from "antd"; import { useTranslation } from "react-i18next"; import { Constants } from "../../../utils"; -import hello from "hellojs"; -import { useEffect } from "react"; export default function StoreCalendar() { const { t } = useTranslation(); - useEffect(() => { - console.log("hello", Constants.GOOGLE_CLIENT_ID); - - hello.init( - { - google: Constants.GOOGLE_CLIENT_ID, - }, - { - response_type: "code", - redirect_uri: - "https://customerdashboard.ex.umbach.dev/store/calendar/finish", - scope: [ - "https://www.googleapis.com/auth/calendar.app.created", - "https://www.googleapis.com/auth/calendar.events.freebusy", - ], - force: true, - } - ); - }, []); - return ( <>