File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1+
12import { useState } from 'react' ;
23import { Button } from '@/components/ui/button' ;
34import { Input } from '@/components/ui/input' ;
@@ -70,16 +71,16 @@ export const AuthForm = () => {
7071 }
7172 } ;
7273
73- const handleBackToDashboard = ( ) => {
74- navigate ( '/dashboard ' ) ;
74+ const handleBackToLanding = ( ) => {
75+ navigate ( '/' ) ;
7576 } ;
7677
7778 return (
7879 < div className = "min-h-screen bg-gradient-to-br from-blue-50/50 via-white to-purple-50/50 flex items-center justify-center p-4 relative" >
7980 { /* Bouton retour */ }
8081 < Button
8182 variant = "ghost"
82- onClick = { handleBackToDashboard }
83+ onClick = { handleBackToLanding }
8384 className = "absolute top-6 left-6 text-slate-600 hover:text-slate-900"
8485 >
8586 < ArrowLeft className = "mr-2 h-4 w-4" />
You can’t perform that action at this time.
0 commit comments