diff --git a/package.json b/package.json index a940f61..f25f417 100644 --- a/package.json +++ b/package.json @@ -39,9 +39,6 @@ "build-storybook": "build-storybook -s public", "storybook": "start-storybook -p 9009 -s public" }, - "resolutions": { - "meld-clients-core": "Videodock/meld-clients-core#dev-meld-2.0-postbuild" - }, "dependencies": { "@apollo/react-hooks": "^3.1.3", "@apollo/react-testing": "^3.1.3", @@ -59,7 +56,6 @@ "graphql": "^14.5.8", "history": "^4.7.2", "i18next": "^17.0.6", - "meld-clients-core": "Videodock/meld-clients-core#dev-meld-2.0-postbuild", "moment": "^2.19.2", "nuka-carousel": "^4.7.1", "object-hash": "^1.2.0", @@ -72,7 +68,7 @@ "react-jss": "^8.1.0", "react-redux": "^7.2.0", "react-router-dom": "^5.1.2", - "react-scripts": "3.1.1", + "react-scripts": "^3.4.4", "react-typeform-embed": "^0.2.1", "redux": "^4.0.5", "redux-promise": "^0.6.0", @@ -80,24 +76,21 @@ "redux-thunk": "^2.3.0", "reselect": "^4.0.0", "seamless-immutable": "^7.1.2", - "selectable-score": "trompamusic/selectable-score", + "selectable-score": "trompamusic/selectable-score#1.2", "solid-auth-client": "^2.5.2", "trompa-multimodal-component": "^1.2.1", "url-search-params-polyfill": "^7.0.0" }, "devDependencies": { - "@babel/cli": "^7.13.0", - "@babel/core": "^7.13.8", - "@babel/preset-react": "^7.12.13", "@commitlint/cli": "^12.0.1", "@commitlint/config-conventional": "^8.0.0", "@storybook/addon-actions": "^5.1.9", "@storybook/addon-links": "^6.1.21", "@storybook/addon-storyshots": "^5.1.9", "@storybook/react": "^6.1.21", - "@testing-library/jest-dom": "^4.0.0", - "@testing-library/react": "^9.4.0", - "@types/jest": "^24.0.15", + "@testing-library/jest-dom": "^5.11.9", + "@testing-library/react": "^11.2.5", + "@types/jest": "^26.0.21", "@types/prop-types": "^15.5.2", "@types/react": "^16.0.10", "@types/react-dom": "^16.0.1", diff --git a/src/components/Jumbotron/Jumbotron.jsx b/src/components/Jumbotron/Jumbotron.jsx index 7735683..2a6a361 100644 --- a/src/components/Jumbotron/Jumbotron.jsx +++ b/src/components/Jumbotron/Jumbotron.jsx @@ -25,13 +25,6 @@ export default function Jumbotron({ const { t } = useTranslation('common'); const [scoreModalOpen, toggleScoremodal] = useState(false); - const extractSourceName = str => { - if (!str) return ""; - const value = str.substring(str.lastIndexOf('/') + 1); - - return value.substring(0, value.lastIndexOf('.')); - }; - const renderContent = device => (
{isCampaignPageHeader && ( @@ -99,7 +92,7 @@ export default function Jumbotron({ {digitalDocument?.title} - +