diff --git a/package.json b/package.json index 51908e36b..a2e8921db 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "@sentry/nextjs": "7.21.1", "@tanstack/react-query": "^4.16.1", "@tryghost/content-api": "^1.11.4", - "@widgetbot/react-embed": "^1.4.0", "axios": "0.21.4", "axios-hooks": "2.7.0", "date-fns": "2.24.0", diff --git a/src/pages/chat.tsx b/src/pages/chat.tsx deleted file mode 100644 index 79d0e80e4..000000000 --- a/src/pages/chat.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import { GetServerSideProps } from 'next' -import { serverSideTranslations } from 'next-i18next/serverSideTranslations' -import WidgetBot from '@widgetbot/react-embed' - -import Layout from 'components/layout/Layout' - -export type LoginPageProps = { - providers: string[] - csrfToken: string -} - -export const getServerSideProps: GetServerSideProps = async (ctx) => { - return { - props: { - ...(await serverSideTranslations(ctx.locale ?? 'bg', ['common', 'auth', 'validation'])), - csrfToken: '', - providers: [], - }, - } -} - -export default function Chat() { - return ( - - {/* @ts-expect-error pass css string instead of number */} - - - ) -} diff --git a/yarn.lock b/yarn.lock index c3814321c..903f6b563 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3015,25 +3015,6 @@ __metadata: languageName: node linkType: hard -"@widgetbot/embed-api@npm:^1.1.3": - version: 1.1.3 - resolution: "@widgetbot/embed-api@npm:1.1.3" - checksum: b6b8385d726a76fd1aad7397376824721d86ce19c28e2994b0768c7b23dbfbdbfad60dd7a2a11a0ab00cf17c9dec54b84114fe9c7684682d72b0a357fb179cf0 - languageName: node - linkType: hard - -"@widgetbot/react-embed@npm:^1.4.0": - version: 1.4.0 - resolution: "@widgetbot/react-embed@npm:1.4.0" - dependencies: - "@widgetbot/embed-api": ^1.1.3 - react: ^16.13.1 - peerDependencies: - react: ^15.x || ^16.x - checksum: 945e16c476beedba27aba4cdbe5e90f6e5936f7908263fedda4a2ff2c0222c7ecbd683bf048466086f59b015cea7733e3b08f7c12d2b9965c85104be39d3f946 - languageName: node - linkType: hard - "abab@npm:^2.0.3, abab@npm:^2.0.5": version: 2.0.5 resolution: "abab@npm:2.0.5" @@ -8836,7 +8817,6 @@ __metadata: "@types/yup": 0.29.11 "@typescript-eslint/eslint-plugin": 4.26.0 "@typescript-eslint/parser": 4.26.0 - "@widgetbot/react-embed": ^1.4.0 all-contributors-cli: ^6.20.0 axios: 0.21.4 axios-hooks: 2.7.0 @@ -9418,17 +9398,6 @@ __metadata: languageName: node linkType: hard -"react@npm:^16.13.1": - version: 16.14.0 - resolution: "react@npm:16.14.0" - dependencies: - loose-envify: ^1.1.0 - object-assign: ^4.1.1 - prop-types: ^15.6.2 - checksum: 8484f3ecb13414526f2a7412190575fc134da785c02695eb92bb6028c930bfe1c238d7be2a125088fec663cc7cda0a3623373c46807cf2c281f49c34b79881ac - languageName: node - linkType: hard - "read-pkg-up@npm:^3.0.0": version: 3.0.0 resolution: "read-pkg-up@npm:3.0.0"