fix: Wrap handleAddDomain call in arrow function for ActionButton
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled

This commit is contained in:
2025-12-10 19:55:18 +01:00
parent eadf6e9e40
commit 11afd491bd

View File

@ -358,7 +358,7 @@ export default function WatchlistPage() {
className="flex-1"
/>
<ActionButton
onClick={handleAddDomain}
onClick={() => handleAddDomain({} as React.FormEvent)}
disabled={adding || !newDomain.trim() || !canAddMore}
icon={adding ? Loader2 : Plus}
>