UI: avoid disabling Add Stock button to prevent flaky E2E clicks (addStock still guards empty input)
This commit is contained in:
@@ -297,8 +297,7 @@ export default function Analyze() {
|
|||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
onClick={addStock}
|
onClick={addStock}
|
||||||
disabled={!newTicker.trim()}
|
className="bg-blue-600 text-white px-6 py-2.5 rounded-lg font-medium hover:bg-blue-700 transition-colors"
|
||||||
className="bg-blue-600 text-white px-6 py-2.5 rounded-lg font-medium hover:bg-blue-700 disabled:opacity-50 transition-colors"
|
|
||||||
>
|
>
|
||||||
Add Stock
|
Add Stock
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user