File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1-
21import { useState } from 'react' ;
32import { Button } from '@/components/ui/button' ;
43import { Input } from '@/components/ui/input' ;
@@ -71,16 +70,16 @@ export const AuthForm = () => {
7170 }
7271 } ;
7372
74- const handleBackToLanding = ( ) => {
75- navigate ( '/' ) ;
73+ const handleBackToDashboard = ( ) => {
74+ navigate ( '/dashboard ' ) ;
7675 } ;
7776
7877 return (
7978 < 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" >
8079 { /* Bouton retour */ }
8180 < Button
8281 variant = "ghost"
83- onClick = { handleBackToLanding }
82+ onClick = { handleBackToDashboard }
8483 className = "absolute top-6 left-6 text-slate-600 hover:text-slate-900"
8584 >
8685 < ArrowLeft className = "mr-2 h-4 w-4" />
You can’t perform that action at this time.
0 commit comments