fix(web): prevent upgrade click event as plan id (#1086)

This commit is contained in:
Vedant Mahajan 2026-06-10 21:02:42 +05:30 committed by GitHub
parent 464a2b16b1
commit 23c43bd27d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2850,7 +2850,7 @@ export function IntegrationsView({
}
if (needsProUpgrade) {
return (
<PillButton onClick={handleUpgrade}>
<PillButton onClick={() => handleUpgrade()}>
<Zap className="size-3.5 text-[#4BA0FA]" /> Upgrade
</PillButton>
)
@ -3465,7 +3465,7 @@ export function IntegrationsView({
</div>
<div className="flex shrink-0 items-center justify-between gap-2">
{connectedDialogNeedsPro ? (
<PillButton onClick={handleUpgrade}>
<PillButton onClick={() => handleUpgrade()}>
<Zap className="size-3.5 text-[#4BA0FA]" /> Upgrade to connect
more
</PillButton>