fix: TS2322 onClick handler — wrap handleSynthesize in arrow function
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -327,7 +327,7 @@ export default function SuperContexte() {
|
||||
Le système analysera tous les rapports et trades disponibles.
|
||||
</p>
|
||||
<button
|
||||
onClick={handleSynthesize}
|
||||
onClick={() => handleSynthesize()}
|
||||
disabled={synthesize.isPending}
|
||||
className="inline-flex items-center gap-2 px-5 py-2.5 rounded-lg bg-violet-600 hover:bg-violet-500 disabled:opacity-50 text-sm font-medium transition-colors"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user