/* This is the Auth component. It will allow your user to login. By default, it is available with the auth.js page, but you can use it everywhere you want! CONFIGURE THE AUTH COMPONENT LINE 30 You can select your auth providers, or just keep the email/password. You can check the providers available here: https://supabase.io/docs/guides/auth */ import { supabase } from 'utils/supabaseClient'; import { useAuth } from 'utils/AuthContext'; import SignUpPanel from './UI/SignUpPanel'; const Container = (props) => { const { user, signOut } = useAuth(); if (user) return (

Hello {user.email}! 👋 You are already logged in

); return props.children; }; const AuthComponent = () => { const { signUp, signIn, signOut, resetPassword } = useAuth(); return ( ); }; export default AuthComponent;