Remove duplicate broker reconnect action
This commit is contained in:
parent
bc1ea376a4
commit
8f34b1bfd3
@ -1369,11 +1369,8 @@ export default function PortfolioSection() {
|
|||||||
) : (
|
) : (
|
||||||
<div className="overflow-x-auto">
|
<div className="overflow-x-auto">
|
||||||
{showSessionExpired ? (
|
{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">
|
<div className="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>
|
Session expired. Showing the last known holdings. Use the top reconnect action to refresh.
|
||||||
<Button size="sm" variant="secondary" onClick={handleReconnectClick} className="w-full sm:w-auto">
|
|
||||||
Reconnect broker
|
|
||||||
</Button>
|
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
<table className="min-w-full text-sm">
|
<table className="min-w-full text-sm">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user