fix: clean login page, avoid esbuild regex parse error

This commit is contained in:
root
2026-07-29 23:33:19 +02:00
parent 5115d13616
commit 331bdd0957
+7 -9
View File
@@ -6,7 +6,7 @@ import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
import { Wrench, AlertCircle, ArrowLeft } from "lucide-react";
import { Wrench, AlertCircle } from "lucide-react";
export default function Login() {
const [, setLocation] = useLocation();
@@ -91,18 +91,16 @@ export default function Login() {
className="w-full"
disabled={localLogin.isPending}
>
{localLogin.isPending ? "Signing in" : "Sign in"}
{localLogin.isPending ? "Signing in..." : "Sign in"}
</Button>
</form>
</CardContent>
</Card>
</Card>
<div className="text-center">
<Link href="/" className="inline-flex items-center gap-1.5 text-sm text-muted-foreground hover:text-primary transition-colors">
<ArrowLeft className="w-4 h-4" />
Back to Home
</Link>
</div>
<div className="text-center">
<Link href="/" className="text-sm text-muted-foreground hover:text-primary transition-colors">
Back to Home
</Link>
</div>
</div>
</div>