You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Component confirm-token-transaction-switch takes care to get token relates data from using selectors and other hooks and rendering token routes passing this data. We need to do following refactor:
Minimise props passing from confirm-token-transaction-switch. This can be done by getting this data directly in confirm-approve and confirm-token-transaction-base components. Both of these are functional components. Only 1 prop transaction should be required to pass down to various components.
Move the 5 routes mapping to /pages/confirm-transaction.component.js
Add more unit test coverage here /pages/confirm-transaction.test.js for the 5 routes added to it
Delete /pages/confirm-token-transaction-switch.js
The text was updated successfully, but these errors were encountered:
Component confirm-token-transaction-switch takes care to get token relates data from using selectors and other hooks and rendering token routes passing this data. We need to do following refactor:
Minimise props passing from confirm-token-transaction-switch. This can be done by getting this data directly in
confirm-approve
andconfirm-token-transaction-base
components. Both of these are functional components. Only 1 proptransaction
should be required to pass down to various components.Move the 5 routes mapping to
/pages/confirm-transaction.component.js
Add more unit test coverage here
/pages/confirm-transaction.test.js
for the 5 routes added to itDelete
/pages/confirm-token-transaction-switch.js
The text was updated successfully, but these errors were encountered: