diff --git a/.eslintrc.json b/.eslintrc.json index 7639f23..6ac0be0 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -69,7 +69,8 @@ "svg", "gif", "axios", - "href" + "href", + "adsbygoogle" ] }] } diff --git a/package-lock.json b/package-lock.json index dd09bae..69a8dd8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@types/react-dom": "^18.2.4", "@types/react-router-dom": "^5.3.3", "@typescript-eslint/eslint-plugin": "^5.59.8", - "@unrealpixels/common-lib": "^0.1.10", + "@unrealpixels/common-lib": "^0.1.15", "@vitejs/plugin-basic-ssl": "^1.0.1", "@vitejs/plugin-react": "^4.0.4", "axios": "^1.4.0", @@ -1298,9 +1298,9 @@ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" }, "node_modules/@unrealpixels/common-lib": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/@unrealpixels/common-lib/-/common-lib-0.1.10.tgz", - "integrity": "sha512-Zxw2IvplNoIRCnb/3x03G7ykU3k4xdrWBx0al74B3KOYeeVz0TUNu+i9lMQnsoOSwIGbfoiGg9xLIDnfeEM0zg==", + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/@unrealpixels/common-lib/-/common-lib-0.1.15.tgz", + "integrity": "sha512-76jRkOx8H9dzvYHyPi8mOtg5BVN9KYqCzZ3jTF60ui/3fCW40QqYUzvCTtrUKzxLTZAY94f1g3D/wRTtERSBtA==", "peerDependencies": { "@types/axios": "^0.14.0", "@types/node": "^16.18.34", @@ -1678,9 +1678,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001520", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001520.tgz", - "integrity": "sha512-tahF5O9EiiTzwTUqAeFjIZbn4Dnqxzz7ktrgGlMYNLH43Ul26IgTMH/zvL3DG0lZxBYnlT04axvInszUsZULdA==", + "version": "1.0.30001581", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001581.tgz", + "integrity": "sha512-whlTkwhqV2tUmP3oYhtNfaWGYHDdS3JYFQBKXxcUR9qqPWsRhFHhoISO2Xnl/g0xyKzht9mI1LZpiNWfMzHixQ==", "funding": [ { "type": "opencollective", diff --git a/package.json b/package.json index f7c7f6c..cc3e239 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "@types/react-dom": "^18.2.4", "@types/react-router-dom": "^5.3.3", "@typescript-eslint/eslint-plugin": "^5.59.8", - "@unrealpixels/common-lib": "^0.1.10", + "@unrealpixels/common-lib": "^0.1.15", "@vitejs/plugin-basic-ssl": "^1.0.1", "@vitejs/plugin-react": "^4.0.4", "axios": "^1.4.0", diff --git a/src/views/App/index.tsx b/src/views/App/index.tsx index 9934b59..65fca0c 100644 --- a/src/views/App/index.tsx +++ b/src/views/App/index.tsx @@ -1,6 +1,6 @@ import React from 'react'; import './App.scss'; -import { Header, Wrapper } from '@unrealpixels/common-lib'; +import { GoogleAd, Header, Wrapper } from '@unrealpixels/common-lib'; import { type RouteComponentProps, withRouter } from 'react-router-dom'; class App extends React.Component { @@ -42,6 +42,7 @@ class App extends React.Component {