File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export const CARBON_SCRIPT_ID = "_carbonads_js"
55const CARBON_SCRIPT_SRC =
66 "https://cdn.carbonads.com/carbon.js?serve=CW7DTKQ7&placement=react-hook-formcom&format=cover"
77
8- export function CarbonAds ( { id } : { id : string } ) {
8+ export function CarbonAds ( { id } : { id : string } ) {
99 const containerRef = useRef < HTMLDivElement > ( null )
1010
1111 useEffect ( ( ) => {
@@ -31,7 +31,7 @@ export function CarbonAds({ id }: {id: string} ) {
3131 return ( ) => window . removeEventListener ( "load" , injectScript )
3232 }
3333
34- return ;
34+ return
3535 } , [ id ] )
3636
3737 return < div className = "carbonAdsContainer" ref = { containerRef } />
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import styles from "./SideMenu.module.css"
44import typographyStyles from "../../styles/typography.module.css"
55import { useRouter } from "next/router"
66import { Pages } from "../../types/types"
7- import { CARBON_SCRIPT_ID , CarbonAds } from "@/components/CarbonAds" ;
7+ import { CARBON_SCRIPT_ID , CarbonAds } from "@/components/CarbonAds"
88
99function Menu ( { pages = [ ] } : { pages : Pages } ) {
1010 const router = useRouter ( )
Original file line number Diff line number Diff line change @@ -945,4 +945,3 @@ pre[class*="language-"] {
945945 height : auto;
946946 }
947947}
948-
You can’t perform that action at this time.
0 commit comments