feat: add AccountCenter component for user profile, payments, and wallet management.
This commit is contained in:
@@ -253,10 +253,6 @@ export function AccountCenter() {
|
|||||||
if (!supabaseReady) return headers;
|
if (!supabaseReady) return headers;
|
||||||
try {
|
try {
|
||||||
const client = getSupabaseBrowserClient();
|
const client = getSupabaseBrowserClient();
|
||||||
const {
|
|
||||||
data: { user },
|
|
||||||
} = await client.auth.getUser();
|
|
||||||
if (!user) return headers;
|
|
||||||
const {
|
const {
|
||||||
data: { session },
|
data: { session },
|
||||||
} = await client.auth.getSession();
|
} = await client.auth.getSession();
|
||||||
|
|||||||
Reference in New Issue
Block a user