Skip to content

[$750] Refactor ConfirmModal usage to useConfirmModal in settings and profile pages #76693

Description

@roryabraham

Coming from #68799 (comment)...

Problem

When every component mounts its own ConfirmModal in the component tree, it creates component bloat, memory overhead from multiple modal instances, and repetitive boilerplate code that makes the application harder to maintain.

Solution

Refactor ConfirmModal usage to useConfirmModal in the following files:

TroubleshootPage.tsx
CardSection.tsx
SecuritySettingsPage.tsx
CloseAccountPage.tsx
TwoFactorAuth/DisablePage.tsx
TwoFactorAuth/EnabledPage.tsx
LockAccountPage.tsx
InitialSettingsPage.tsx
ConsolePage.tsx
VacationDelegatePage.tsx
ContactMethodDetailsPage.tsx
WalletPage.tsx
VisibilityPage.tsx
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021996470600213306769
  • Upwork Job ID: 1996470600213306769
  • Last Price Increase: 2026-03-26
  • Automatic offers:
    • truph01 | Contributor | 109701642
Issue OwnerCurrent Issue Owner: @

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions