mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-15 15:09:25 +00:00
bugfix:
修复编译
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import React, { useEffect } from 'react'
|
import React from 'react'
|
||||||
import MenuButtonGroup from '@/components/MenuButtonGroup'
|
import MenuButtonGroup from '@/components/MenuButtonGroup'
|
||||||
import InfoCard from '@/components/InfoCard'
|
import InfoCard from '@/components/InfoCard'
|
||||||
import TagGroups from '@/components/TagGroups'
|
import TagGroups from '@/components/TagGroups'
|
||||||
@@ -10,7 +10,6 @@ import { useGlobal } from '@/lib/global'
|
|||||||
import Toc from '@/components/Toc'
|
import Toc from '@/components/Toc'
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||||
import { faAngleDoubleRight, faArchive, faTags, faThList } from '@fortawesome/free-solid-svg-icons'
|
import { faAngleDoubleRight, faArchive, faTags, faThList } from '@fortawesome/free-solid-svg-icons'
|
||||||
const adsInit = false
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 侧边平铺
|
* 侧边平铺
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ function initGoogleAdsense () {
|
|||||||
if (newAdsCount > 0) {
|
if (newAdsCount > 0) {
|
||||||
for (let i = 0; i <= newAdsCount; i++) {
|
for (let i = 0; i <= newAdsCount; i++) {
|
||||||
try {
|
try {
|
||||||
|
// eslint-disable-next-line no-undef
|
||||||
(adsbygoogle = window.adsbygoogle || []).push({})
|
(adsbygoogle = window.adsbygoogle || []).push({})
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user