Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(desktop): add type=submit to login buttons
Naiyuan Qing83769c47808b
diff --git a/apps/desktop/src/renderer/src/pages/login.tsx b/apps/desktop/src/renderer/src/pages/login.tsxindex bf0bfefd55..2e306ad558 100644--- a/apps/desktop/src/renderer/src/pages/login.tsx+++ b/apps/desktop/src/renderer/src/pages/login.tsx@@ -89,7 +89,7 @@ export function LoginPage() {/></div>{error && <p className="text-sm text-destructive">{error}</p>}- <Button className="w-full" disabled={!email || loading}>+ <Button type="submit" className="w-full" disabled={!email || loading}>{loading ? "Sending..." : "Send Code"}</Button></div>@@ -113,7 +113,7 @@ export function LoginPage() {/></div>{error && <p className="text-sm text-destructive">{error}</p>}- <Button className="w-full" disabled={!code || loading}>+ <Button type="submit" className="w-full" disabled={!code || loading}>{loading ? "Verifying..." : "Verify"}</Button><Button