Skip to content

Commit c50db8d

Browse files
analytics
1 parent 4fe00c8 commit c50db8d

3 files changed

Lines changed: 42 additions & 0 deletions

File tree

playground/package-lock.json

Lines changed: 39 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

playground/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@monaco-editor/react": "4.7.0",
14+
"@vercel/analytics": "^1.5.0",
1415
"monaco-editor": "0.52.2",
1516
"react": "19.1.1",
1617
"react-dom": "19.1.1",

playground/src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { useState } from "react";
22
import { Editor } from "./Editor";
33
import { exec } from "./api";
4+
import { Analytics } from "@vercel/analytics/react"
45
import "./styles.css";
56

67
import {
@@ -77,6 +78,7 @@ export default function App() {
7778
</div>
7879
</Panel>
7980
</PanelGroup>
81+
<Analytics />
8082
</div>
8183
);
8284
}

0 commit comments

Comments
 (0)