diff --git a/.env.example b/.env.example index 69f3779..127929b 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,5 @@ -# Groq is used to transcribe speech and generate the text response. -# https://console.groq.com/keys + GROQ_API_KEY= -# Cartesia is used to synthesize the text response into speech. -# https://play.cartesia.ai/console -CARTESIA_API_KEY= \ No newline at end of file + +CARTESIA_API_KEY= diff --git a/app/lib/icons.tsx b/app/lib/icons.tsx index 7bc4b80..9a8c855 100644 --- a/app/lib/icons.tsx +++ b/app/lib/icons.tsx @@ -1,38 +1,36 @@ +const IconBase = ({ children, className }: { children: React.ReactNode; className?: string }) => ( + +); + export function LoadingIcon() { return ( - + - + ); } export function EnterIcon() { return ( - + - + ); } diff --git a/tsconfig.json b/tsconfig.json index b811cb1..a6ff570 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,23 +10,24 @@ "strict": true, "noEmit": true, "esModuleInterop": true, + "allowSyntheticDefaultImports": true, "module": "esnext", - "moduleResolution": "bundler", + "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "incremental": true, - "plugins": [ - { - "name": "next" - } - ], + "target": "ES2020", "paths": { "@/*": [ "./app/*" ] }, - "target": "ES2017" + "plugins": [ + { + "name": "next" + } + ] }, "include": [ "next-env.d.ts", @@ -35,6 +36,7 @@ ".next/types/**/*.ts" ], "exclude": [ - "node_modules" + "node_modules", + ".next" ] }