Skip to content

Commit 3889900

Browse files
authored
Merge pull request #34 from nucliweb/feat/rum-debugbear
Add RUM DebugBear script
2 parents 8240e6a + be724dc commit 3889900

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pages/_app.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1+
import Script from "next/script";
2+
13
function WebPerfSnippets({ Component, pageProps }) {
2-
return <Component {...pageProps} />;
4+
return (
5+
<>
6+
<Component {...pageProps} />
7+
<Script
8+
src="https://cdn.debugbear.com/BK73p0yToVVP.js"
9+
strategy="afterInteractive"
10+
/>
11+
</>
12+
);
313
}
414

515
export default WebPerfSnippets;

0 commit comments

Comments
 (0)