MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / FooterWrapper

Function FooterWrapper

docs/src/theme/Footer/index.js:6–30  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

4// import AdsContainerElement from '@site/src/components/AdsContainerElement'
5
6export default function FooterWrapper(props) {
7 // useEffect(() => {
8 // if (typeof window !== 'undefined') {
9 // const scriptElement = document.createElement('script')
10 // scriptElement.src =
11 // 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7420210265158247'
12 // scriptElement.async = true
13 // scriptElement.onload = () => {
14 // if (typeof window !== 'undefined') {
15 // window.onload = () => {
16 // ;(window.adsbygoogle = window.adsbygoogle || []).push({})
17 // }
18 // }
19 // }
20 // document.body.appendChild(scriptElement)
21 // }
22 // }, [])
23
24 return (
25 <>
26 <Footer {...props} />
27 {/* <AdsContainerElement id="mobile-anchor-ads" /> */}
28 </>
29 )
30}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected