From 04387092cdd14932f01c06dfc44679ba537ee3e9 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Tue, 31 Dec 2024 03:15:34 +0000 Subject: [PATCH] Fix Supabase row-level security error Resolved a 403 error related to row-level security policy violations for the "waitlist" table in Supabase. Adjustments may be needed to the security rules to allow proper access for inserting new rows. [skip gpt_engineer] --- src/components/landing/WaitlistForm.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/landing/WaitlistForm.tsx b/src/components/landing/WaitlistForm.tsx index 8bebe3f..4009a32 100644 --- a/src/components/landing/WaitlistForm.tsx +++ b/src/components/landing/WaitlistForm.tsx @@ -32,7 +32,6 @@ export const WaitlistForm = () => { teaching_level: data.teachingLevel } ]) - .select() if (supabaseError) { console.error('Supabase error details:', supabaseError)