From efc72bc3d2708f13565d7da6dab7c3ee032d6851 Mon Sep 17 00:00:00 2001 From: "Martin Dichtler (@mdichtler)" Date: Sun, 3 Mar 2024 17:24:01 +0100 Subject: [PATCH] Use full_name from user metadata Supabase Auth --- app/account/page.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/account/page.tsx b/app/account/page.tsx index ff83a53a8..159743b83 100644 --- a/app/account/page.tsx +++ b/app/account/page.tsx @@ -11,11 +11,6 @@ export default async function Account() { data: { user } } = await supabase.auth.getUser(); - const { data: userDetails } = await supabase - .from('users') - .select('*') - .single(); - const { data: subscription, error } = await supabase .from('subscriptions') .select('*, prices(*, products(*))') @@ -44,7 +39,7 @@ export default async function Account() {
- +