fix: homepage auth snippet (#19108)

This commit is contained in:
Ant Wilson authored and GitHub committed 2023-11-20 14:48:52 -03:30
1 parent 677c0252a0
commit 77c68e91b5
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ export const createUserExample: ExampleProps = {
const supabase = createClient(supabaseUrl, supabaseKey)
// Create a new user
const { user, error } = await supabase.auth.signUpWithPassword({
const { user, error } = await supabase.auth.signUp({
email: 'example@email.com',
password: 'example-password',
})
+1 -1
View File
@@ -11,7 +11,7 @@ const supabaseKey = 'public-anon-key'
const supabase = createClient(supabaseUrl, supabaseKey)
// Create a new user
const { user, error } = await supabase.auth.signUpWithPassword({
const { user, error } = await supabase.auth.signUp({
email: 'example@email.com',
password: 'example-password',
})
@@ -5,7 +5,7 @@ export default [
description: '',
code: `
// Sign up with email
const { user, error } = await supabase.auth.signUpWithPassword({
const { user, error } = await supabase.auth.signUp({
email: 'example@email.com',
password: 'example-password',
})