Skip to content

Commit fd90690

Browse files
authored
Fix linting from vercel#57364 (vercel#68951)
Seems to be failing from new prettier setup since this PR was last updated x-ref: https://github.com/vercel/next.js/actions/runs/10407306592/job/28822464359
1 parent d2cfaf4 commit fd90690

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
'use client'
1+
"use client";
22

3-
import { sendGTMEvent } from '@next/third-parties/google'
3+
import { sendGTMEvent } from "@next/third-parties/google";
44

55
export function EventButton() {
66
return (
77
<div>
88
<button
9-
onClick={() => sendGTMEvent({ event: 'buttonClicked', value: 'xyz' })}
9+
onClick={() => sendGTMEvent({ event: "buttonClicked", value: "xyz" })}
1010
>
1111
Send Event
1212
</button>
1313
</div>
14-
)
14+
);
1515
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { GoogleTagManager } from '@next/third-parties/google'
1+
import { GoogleTagManager } from "@next/third-parties/google";
22

3-
const GTM_ID = process.env.NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID
3+
const GTM_ID = process.env.NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID;
44

55
export default function RootLayout({ children }) {
66
return (
77
<html lang="en">
88
<body>{children}</body>
99
<GoogleTagManager gtmId={GTM_ID} />
1010
</html>
11-
)
11+
);
1212
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { EventButton } from './components/EventButton'
1+
import { EventButton } from "./components/EventButton";
22

33
export default function Page() {
44
return (
55
<div>
66
<EventButton />
77
</div>
8-
)
8+
);
99
}

0 commit comments

Comments
 (0)