Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Clean up index.js

ykdojo83d8b6c45f96
diff --git a/examples/nextjs-slack-clone/pages/index.js b/examples/nextjs-slack-clone/pages/index.js
index cace313464f..fad9d73c383 100644
--- a/examples/nextjs-slack-clone/pages/index.js
+++ b/examples/nextjs-slack-clone/pages/index.js
@@ -20,9 +20,6 @@ const Home = () => {
alert('Error with auth: ' + error.message)
}
else if (!user) alert('Signup successful, confirmation mail should be sent soon!')
- // When the user signs in, we should be able to listen for that event
- // with supabase.auth.authEventListner (or something like that)
- // if (!!user) signIn(user.id, user.email)
} catch (error) {
console.log('error', error)
alert(error.error_description || error)