We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 812a40c commit ee7ca54Copy full SHA for ee7ca54
src/pages/ForgotPassword.tsx
@@ -72,14 +72,16 @@ export default function ForgotPassword() {
72
</form>
73
</CardContent>
74
)}
75
- <CardFooter>
76
- <div className="text-sm text-center w-full">
77
- <Link to="/login" className="inline-flex items-center text-primary hover:underline">
78
- <ArrowLeft className="w-4 h-4 mr-1" />
79
- Back to login
80
- </Link>
81
- </div>
82
- </CardFooter>
+ {!isSubmitted && (
+ <CardFooter>
+ <div className="text-sm text-center w-full">
+ <Link to="/login" className="inline-flex items-center text-primary hover:underline">
+ <ArrowLeft className="w-4 h-4 mr-1" />
+ Back to login
+ </Link>
+ </div>
83
+ </CardFooter>
84
+ )}
85
</Card>
86
</div>
87
)
0 commit comments