App: [HOLD for payment 2023-10-10] [$250] Migrate EnablePaymentsPage.js to function component

Class Component Migration

Filenames

Task

  • We currently have some class components in our codebase that we would like to refactor to a function component.
  • Here’s a link with some general advice on how to refactor a class component to a function component: https://react.dev/reference/react/Component#alternatives
  • If you need additional guidance, please ask in #expensify-open-source
  • Test for any regressions and verify that there are no breaking changes
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017ab9b594d07f40d3
  • Upwork Job ID: 1706589056505331712
  • Last Price Increase: 2023-09-26

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 24 (12 by maintainers)

Most upvoted comments

No bug checklist needed on this, and I believe we just need payment for @jjcoffee since @barttom is handled separately - do I have that right? cc @mallenexpensify

Bug0 Triage Checklist (Main S/O)

  • This “bug” occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you’re unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren’t clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync