CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

fix: scan-4 — Rust permissions dead code and autostart cleanup #4737

Merged⚡ AI-generatedXSccantynz wants to mergeclaude/scan-4mainopened Jun 15, 20260/3 tasks
1 changed file+20−15
Modifiedlanding/src/App.tsx+20−15View fileUnifiedSplit
16251625 }
16261626
16271627 return (
1628 <form onSubmit={handleSubmit} className="flex gap-2">
1629 <input
1630 type="email"
1631 value={email}
1632 onChange={(e) => { setEmail(e.target.value); setStatus("idle"); }}
1633 placeholder="your@email.com"
1634 className="flex-1 h-9 px-3 rounded-lg bg-black/40 border border-white/10 text-sm text-white placeholder:text-zinc-600 focus:outline-none focus:border-brand-500 transition-colors"
1635 />
1636 <button
1637 type="submit"
1638 className="h-9 px-4 rounded-lg bg-brand-600 text-white text-sm font-medium hover:bg-brand-700 transition-colors shrink-0"
1639 >
1640 Notify me
1641 </button>
1642 </form>
1628 <div className="flex flex-col gap-1.5">
1629 <form onSubmit={handleSubmit} className="flex gap-2">
1630 <input
1631 type="email"
1632 value={email}
1633 onChange={(e) => { setEmail(e.target.value); setStatus("idle"); }}
1634 placeholder="your@email.com"
1635 className={`flex-1 h-9 px-3 rounded-lg bg-black/40 border text-sm text-white placeholder:text-zinc-600 focus:outline-none transition-colors ${status === "error" ? "border-red-500 focus:border-red-400" : "border-white/10 focus:border-brand-500"}`}
1636 />
1637 <button
1638 type="submit"
1639 className="h-9 px-4 rounded-lg bg-brand-600 text-white text-sm font-medium hover:bg-brand-700 transition-colors shrink-0"
1640 >
1641 Notify me
1642 </button>
1643 </form>
1644 {status === "error" && (
1645 <p className="text-xs text-red-400">Please enter a valid email address.</p>
1646 )}
1647 </div>
16431648 );
16441649}
16451650
16461651
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts