diff --git a/frontend-nextjs/.env.example b/frontend-nextjs/.env.example index 9e332be..b1e2c51 100644 --- a/frontend-nextjs/.env.example +++ b/frontend-nextjs/.env.example @@ -3,9 +3,9 @@ # https://app.supabase.com/project/_/settings/api NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54321 NEXT_PUBLIC_SUPABASE_ANON_KEY= -JWT_SECRET_KEY= +JWT_SECRET_KEY=super-secret-jwt-token-with-at-least-32-characters-long -# Encryption key for E2E encryption of API keys +# (Optional) Encryption key for E2E encryption of API keys # You can generate a random key with `openssl rand -base64 32` ENCRYPTION_KEY= diff --git a/frontend-nextjs/app/components/LandingPage/YoutubeDemo.tsx b/frontend-nextjs/app/components/LandingPage/YoutubeDemo.tsx index e9298f5..a562643 100644 --- a/frontend-nextjs/app/components/LandingPage/YoutubeDemo.tsx +++ b/frontend-nextjs/app/components/LandingPage/YoutubeDemo.tsx @@ -1,11 +1,13 @@ "use client"; import React from "react"; -import { useRef } from "react"; -import { useEffect } from "react"; -import { useCallback } from "react"; - -export default function YoutubeDemo() { + +interface YoutubeDemoProps { + caption: string; +} + + +export default function YoutubeDemo({ caption }: YoutubeDemoProps) { return