Remove duplicate broker reconnect action

This commit is contained in:
Thigazhezhilan J 2026-04-14 09:32:46 +05:30
parent bc1ea376a4
commit 8f34b1bfd3

View File

@ -1369,11 +1369,8 @@ export default function PortfolioSection() {
) : (
<div className="overflow-x-auto">
{showSessionExpired ? (
<div className="flex flex-wrap items-center justify-between gap-2 border-b border-amber-400/20 bg-amber-500/10 px-4 py-3 text-xs text-amber-200 sm:px-6">
<span>Session expired. Showing the last known holdings. Reconnect to refresh.</span>
<Button size="sm" variant="secondary" onClick={handleReconnectClick} className="w-full sm:w-auto">
Reconnect broker
</Button>
<div className="border-b border-amber-400/20 bg-amber-500/10 px-4 py-3 text-xs text-amber-200 sm:px-6">
Session expired. Showing the last known holdings. Use the top reconnect action to refresh.
</div>
) : null}
<table className="min-w-full text-sm">