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 Owner
Current Issue Owner: @
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:
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @