Skip to content

Commit

Permalink
fix: GA_ID type
Browse files Browse the repository at this point in the history
  • Loading branch information
qqww08 committed May 21, 2024
1 parent 9fd0a4a commit 2b4a5b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-google-analytics/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<GoogleTagManager gtmId={process.env.NEXT_PUBLIC_GA_ID} />
<GoogleTagManager gtmId={process.env.NEXT_PUBLIC_GA_ID as string} />
<body>{children}</body>
</html>
);
Expand Down

0 comments on commit 2b4a5b5

Please sign in to comment.