Show Auto-Login section even when broker is disconnected

The Refresh Now button needs to be accessible when broker is
disconnected so users can reconnect via auto-login without
manually going through the OAuth flow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thigazhezhilan J 2026-06-02 22:19:40 +05:30
parent 0efff43eac
commit b8dbb32e38

View File

@ -1689,14 +1689,12 @@ export default function PortfolioSection() {
</div> </div>
</div> </div>
{isConnected && (
<div <div
className={`${revealTransition} ${cardRevealClass}`} className={`${revealTransition} ${cardRevealClass}`}
style={prefersReducedMotion ? undefined : { transitionDelay: "650ms" }} style={prefersReducedMotion ? undefined : { transitionDelay: "650ms" }}
> >
<AutoLoginSetup /> <AutoLoginSetup />
</div> </div>
)}
<div <div
className={`rounded-2xl border border-border/60 bg-card/70 shadow-xl p-6 space-y-4 ${hoverLift} ${revealTransition} ${cardRevealClass}`} className={`rounded-2xl border border-border/60 bg-card/70 shadow-xl p-6 space-y-4 ${hoverLift} ${revealTransition} ${cardRevealClass}`}