Skip to content

Commit

Permalink
Move NewrelicSnippet to <body>
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallku committed Mar 26, 2024
1 parent d464d3f commit 5f60b82
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/blog/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@ export const viewport: Viewport = {
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="ko" suppressHydrationWarning>
<head>
<body>
<NewrelicSnippet
accountId={process.env.NR_ACCOUNT_ID}
licenseKey={process.env.NR_LICENSE_KEY}
applicationId={process.env.NR_APPLICATION_ID}
/>
</head>
<body>
{/* HACK: Dirty hack for implementing theme toggle */}
<script
id="theme"
Expand Down

0 comments on commit 5f60b82

Please sign in to comment.