Skip to content

Commit

Permalink
keep trying
Browse files Browse the repository at this point in the history
  • Loading branch information
kkian481718 committed Aug 16, 2024
1 parent f2251db commit 93bae69
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/GoogleAdsense.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import Script from 'next/script'

type Props = {
pId: string;
};
pId: string
}

const GoogleAdsense: React.FC<Props> = ({ pId }) => {
if (process.env.NODE_ENV !== "production") {
return null;
return null
}
return (
<Script
Expand All @@ -15,7 +15,7 @@ const GoogleAdsense: React.FC<Props> = ({ pId }) => {
crossOrigin="anonymous"
strategy="afterInteractive"
/>
);
};
)
}

export default GoogleAdsense;
export default GoogleAdsense

0 comments on commit 93bae69

Please sign in to comment.