The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
change to signIn signUp
Duncan Healyf2fe1b0a9cf4
diff --git a/examples/slack-clone/pages/index.js b/examples/slack-clone/pages/index.jsindex 3b7963670d1..d40d62e9b47 100644--- a/examples/slack-clone/pages/index.js+++ b/examples/slack-clone/pages/index.js@@ -13,8 +13,8 @@ const Home = () => {body: { user },} =type === 'LOGIN'- ? await supabase.auth.login(username, password)- : await supabase.auth.signup(username, password)+ ? await supabase.auth.signIn({email:username, password})+ : await supabase.auth.signUp({email:username, password})if (!!user) signIn(user.id, user.email)} catch (error) {console.log('error', error)