From 151e179300507ec5f9e775e61557c8e240b6984e Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 17:03:41 +0000 Subject: [PATCH] Add Supabase API key The prompt asked for guidance on where to add the Supabase API key. This commit addresses that request. --- src/components/panel/MessageComposer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/panel/MessageComposer.tsx b/src/components/panel/MessageComposer.tsx index d754f4c..a0f8fef 100644 --- a/src/components/panel/MessageComposer.tsx +++ b/src/components/panel/MessageComposer.tsx @@ -9,7 +9,7 @@ import { createClient } from "@supabase/supabase-js"; // Initialize Supabase client with proper error handling const supabaseUrl = "https://ikmbnngahzcellthaysf.supabase.co"; -const supabaseAnonKey = import.meta.env.VITE_SUPABASE_ANON_KEY; +const supabaseAnonKey = "YOUR_ANON_KEY_HERE"; // Replace this with your actual anon key if (!supabaseUrl || !supabaseAnonKey) { throw new Error('Supabase URL and Anon Key are required');