feat(FN-216): simplify plan card click handler — remove duplicate Button.onClick
Some checks failed
Sync dev → Gitea / Mirror dev to Gitea (push) Has been cancelled
Some checks failed
Sync dev → Gitea / Mirror dev to Gitea (push) Has been cancelled
Commits merged: - fix(FN-216): simplify plan card click handler — remove duplicate Button.onClick Files changed: apps/web/src/routes/dashboard/subscription/index.tsx | 4 ---- 1 file changed, 4 deletions(-) Fusion-Task-Id: FN-216
This commit is contained in:
@@ -920,10 +920,6 @@ export function SubscriptionPage() {
|
||||
<Button
|
||||
className="w-full"
|
||||
variant={isSelected ? "default" : plan.popular ? "default" : "outline"}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
handleSelectPlan(plan.key);
|
||||
}}
|
||||
>
|
||||
{isSelected ? t("subscription.proceed") : t("subscription.choosePlan")}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user