File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -34,18 +34,6 @@ const RegisterForm = ({ onToggleMode }: RegisterFormProps): JSX.Element => {
3434
3535 const { toast } = useToast ( ) ;
3636
37- const onTestAccount = async ( ) => {
38- const { error } = await supabase . auth . signInAnonymously ( ) ;
39-
40- if ( ! error ) {
41- toast ( {
42- title : "Welcome!" ,
43- description : "You have successfully signed in as a guest." ,
44- } ) ;
45- void navigate ( "/dashboard" ) ;
46- }
47- } ;
48-
4937 const handleRegister = async ( e : React . FormEvent ) => {
5038 e . preventDefault ( ) ;
5139 setLoading ( true ) ;
@@ -220,16 +208,6 @@ const RegisterForm = ({ onToggleMode }: RegisterFormProps): JSX.Element => {
220208 >
221209 Sign In
222210 </ Button >
223- < Button
224- variant = "outline"
225- className = "w-full border-brand-400 text-brand-100"
226- onClick = { ( ) => {
227- void onTestAccount ( ) ;
228- } }
229- type = "button"
230- >
231- Create Test Account
232- </ Button >
233211 </ div >
234212 </ form >
235213 ) ;
You can’t perform that action at this time.
0 commit comments