From ee34a3333aa820131bb3b540860dc885c9ad03bc Mon Sep 17 00:00:00 2001 From: Salih Date: Sun, 12 Dec 2021 13:00:05 +0300 Subject: [PATCH] remove adsense package --- client/components/layout/extra/index.js | 10 ---------- client/package-lock.json | 5 ----- client/package.json | 1 - client/pages/_document.js | 4 ++-- 4 files changed, 2 insertions(+), 18 deletions(-) diff --git a/client/components/layout/extra/index.js b/client/components/layout/extra/index.js index 3424a04..37efffa 100644 --- a/client/components/layout/extra/index.js +++ b/client/components/layout/extra/index.js @@ -1,5 +1,4 @@ import React, { useContext } from 'react' -import AdSense from 'react-adsense' import { TagContext } from '../../../store/tag' @@ -30,15 +29,6 @@ const Extra = ({ marginTop = 24 }) => { ))} -
- ) diff --git a/client/package-lock.json b/client/package-lock.json index 05761c1..2e9b2bc 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -10641,11 +10641,6 @@ "prop-types": "^15.6.2" } }, - "react-adsense": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/react-adsense/-/react-adsense-0.1.0.tgz", - "integrity": "sha512-VzGMH9qA7bBKAveK1joFWphhB7e2Y1ToSGzUa8b7eit3+VSkg/2MSvKxe5d/r4mcmkOHu6CHNJW0nn6RQC3IZA==" - }, "react-clientside-effect": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.2.tgz", diff --git a/client/package.json b/client/package.json index 6c4796c..c51a3f7 100644 --- a/client/package.json +++ b/client/package.json @@ -23,7 +23,6 @@ "next": "^9.4.4", "nprogress": "^0.2.0", "react": "^16.13.1", - "react-adsense": "^0.1.0", "react-dom": "^16.13.1", "react-tagsinput": "^3.19.0", "slug": "^3.3.2", diff --git a/client/pages/_document.js b/client/pages/_document.js index b7ffe2c..6e3020a 100644 --- a/client/pages/_document.js +++ b/client/pages/_document.js @@ -46,9 +46,9 @@ class MyDocument extends Document { )} {/* favicon */}