Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Refactor payment-methods context to be consistent with checkout-events context #6999

Closed
3 tasks
Tracked by #6625
alexflorisca opened this issue Aug 26, 2022 · 0 comments · Fixed by #7304
Closed
3 tasks
Tracked by #6625

Refactor payment-methods context to be consistent with checkout-events context #6999

alexflorisca opened this issue Aug 26, 2022 · 0 comments · Fixed by #7304
Labels
type: bug The issue/PR concerns a confirmed bug.

Comments

@alexflorisca
Copy link
Member

Left over work from the Feature: Data Store Migration work.

This issue is about renaming and refactoring the payment-method context to keep it consistent with the checkout-events context

  • Rename the payment-methods context to payment-events
  • Delete payment-method-events-context.tsx and move the code to index.tsx
  • Rename some of the constants
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
1 participant