diff --git a/package-lock.json b/package-lock.json index 9d65dde7e..d6fb89325 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,6 @@ "prop-types": "^15.8.1", "react": "^17.0.2", "react-dom": "^17.0.2", - "react-helmet": "^6.1.0", "react-redux": "^7.2.8", "react-router-dom": "^5.3.3", "react-tooltip": "^4.2.21", @@ -15768,20 +15767,6 @@ } } }, - "node_modules/react-helmet": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/react-helmet/-/react-helmet-6.1.0.tgz", - "integrity": "sha512-4uMzEY9nlDlgxr61NL3XbKRy1hEkXmKNXhjbAIOVw5vcFrsdYbH2FEwcNyWvWinl103nXgzYNlns9ca+8kFiWw==", - "dependencies": { - "object-assign": "^4.1.1", - "prop-types": "^15.7.2", - "react-fast-compare": "^3.1.1", - "react-side-effect": "^2.1.0" - }, - "peerDependencies": { - "react": ">=16.3.0" - } - }, "node_modules/react-intl": { "version": "5.25.1", "resolved": "https://registry.npmjs.org/react-intl/-/react-intl-5.25.1.tgz", @@ -16012,14 +15997,6 @@ "react": "^16.0.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/react-side-effect": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/react-side-effect/-/react-side-effect-2.1.2.tgz", - "integrity": "sha512-PVjOcvVOyIILrYoyGEpDN3vmYNLdy1CajSFNt4TDsVQC5KpTijDvWVoR+/7Rz2xT978D8/ZtFceXxzsPwZEDvw==", - "peerDependencies": { - "react": "^16.3.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/react-style-singleton": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz", diff --git a/package.json b/package.json index 07a4442d3..414c726a4 100755 --- a/package.json +++ b/package.json @@ -54,7 +54,6 @@ "prop-types": "^15.8.1", "react": "^17.0.2", "react-dom": "^17.0.2", - "react-helmet": "^6.1.0", "react-redux": "^7.2.8", "react-router-dom": "^5.3.3", "react-tooltip": "^4.2.21", diff --git a/public/index.html b/public/index.html index 6e2eba53c..ef93c3f7a 100755 --- a/public/index.html +++ b/public/index.html @@ -5,6 +5,7 @@ <% }); %> Payment | edX + diff --git a/src/components/helmet-header/HelmetHeader.jsx b/src/components/helmet-header/HelmetHeader.jsx deleted file mode 100644 index c1f338ff4..000000000 --- a/src/components/helmet-header/HelmetHeader.jsx +++ /dev/null @@ -1,21 +0,0 @@ -import React from 'react'; -import { Helmet } from 'react-helmet'; - -/** - * HelmetHeader - * using this header to apply stripe redirect url - * content security policy as mentioned here for 3DS - * https://stripe.com/docs/security/guide#content-security-policy - */ -export const HelmetHeader = () => ( - - - -); - -export default HelmetHeader; diff --git a/src/index.jsx b/src/index.jsx index 031723a95..2cd647dcd 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -36,7 +36,6 @@ import { } from './payment'; import { SubscriptionPage } from './subscription'; import { Secure3dRedirectPage } from './subscription/secure-3d/Secure3dRedirectPage'; -import { HelmetHeader } from './components/helmet-header/HelmetHeader'; import configureStore from './data/configureStore'; import './index.scss'; @@ -86,7 +85,6 @@ subscribe(APP_READY, () => { ReactDOM.render( -