Skip to content

Commit c188498

Browse files
committed
analytics + build fix
1 parent a96d81a commit c188498

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

next/app/layout.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Inter } from "next/font/google";
22
import classNames from "classnames";
3-
3+
import { Analytics } from "@vercel/analytics/react"
44
import { DeepgramContextProvider } from "../components/deepgram-context";
55
import { MicrophoneContextProvider } from "../components/microphone-context";
66

@@ -27,6 +27,7 @@ export default function RootLayout({
2727
<MicrophoneContextProvider>
2828
<DeepgramContextProvider>{children}</DeepgramContextProvider>
2929
</MicrophoneContextProvider>
30+
<Analytics />
3031
</body>
3132
</html>
3233
);

next/bun.lock

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"@radix-ui/react-slot": "^1.1.2",
1818
"@tailwindcss/typography": "^0.5.16",
1919
"@upstash/redis": "^1.34.4",
20+
"@vercel/analytics": "^1.5.0",
2021
"ai": "^4.1.41",
2122
"class-variance-authority": "^0.7.1",
2223
"classnames": "^2.5.1",
@@ -417,6 +418,8 @@
417418

418419
"@upstash/redis": ["@upstash/redis@1.34.4", "", { "dependencies": { "crypto-js": "^4.2.0" } }, "sha512-AZx2iD5s1Pu/KCrRA7KVCffu3NSoaYnNY7N9YI7aLAYhcJfsriQKTe+8OxQWJqGqFbrvm17Lyr9HFnDLvqNpfA=="],
419420

421+
"@vercel/analytics": ["@vercel/analytics@1.5.0", "", { "peerDependencies": { "@remix-run/react": "^2", "@sveltejs/kit": "^1 || ^2", "next": ">= 13", "react": "^18 || ^19 || ^19.0.0-rc", "svelte": ">= 4", "vue": "^3", "vue-router": "^4" }, "optionalPeers": ["@remix-run/react", "@sveltejs/kit", "next", "react", "svelte", "vue", "vue-router"] }, "sha512-MYsBzfPki4gthY5HnYN7jgInhAZ7Ac1cYDoRWFomwGHWEX7odTEzbtg9kf/QSo7XEsEAqlQugA6gJ2WS2DEa3g=="],
422+
420423
"JSONStream": ["JSONStream@1.3.5", "", { "dependencies": { "jsonparse": "^1.2.0", "through": ">=2.2.7 <3" }, "bin": "bin.js" }, "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ=="],
421424

422425
"abort-controller": ["abort-controller@3.0.0", "", { "dependencies": { "event-target-shim": "^5.0.0" } }, "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg=="],
File renamed without changes.

next/components/speech-input.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { Textarea } from "@/components/ui/textarea";
44
import { Button } from "@/components/ui/button";
55
import { Mic, Keyboard, ArrowUp, PauseIcon, PlayIcon } from "lucide-react";
6-
import Visualizer from "./visualizer";
6+
import Visualizer from "@/components/audio-viz";
77
import { SpeechStateManager } from "@/lib/speech-state";
88
import { useEffect, useState, useRef } from "react";
99

next/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"@radix-ui/react-slot": "^1.1.2",
3030
"@tailwindcss/typography": "^0.5.16",
3131
"@upstash/redis": "^1.34.4",
32+
"@vercel/analytics": "^1.5.0",
3233
"ai": "^4.1.41",
3334
"class-variance-authority": "^0.7.1",
3435
"classnames": "^2.5.1",

0 commit comments

Comments
 (0)