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
The file can be found at metamask-extension/ui/app/components/app/modals/account-details-modal.js
This component can be found within the app by clicking the "Details" button on the left side of the home screen. See below:
This task is to make the following improvements to the code:
move the component to its own directory with index.js, account-details-modal.component.js and account-details-modal.container.js files
account-details-modal.container.js should be a redux "container component". The purpose is to connect account-details-modal.component.js to redux using the react-redux library. See metamask-extension/ui/app/components/app/app-header/app-header.container.js for an example
account-details-modal.component.js should contain the component class and its methods, but there will be no connection to redux within that file
rewrite the component with jsx, eliminating the use of hyperscript
feel free to make any other changes you think are necessary
The text was updated successfully, but these errors were encountered:
Refactor the AccountDetailsModal to follow newer conventions. Changes
include:
- Create a directory for the component with separate files for the
component, the container, and the entrypoint.
- Use jsx rather than hyperscript
FixesMetaMask#6741
Refactor the AccountDetailsModal to follow newer conventions. Changes
include:
- Create a directory for the component with separate files for the
component, the container, and the entrypoint.
- Use jsx rather than hyperscript
Fixes#6741
The file can be found at
metamask-extension/ui/app/components/app/modals/account-details-modal.js
This component can be found within the app by clicking the "Details" button on the left side of the home screen. See below:
This task is to make the following improvements to the code:
account-details-modal.component.js
to redux using thereact-redux
library. Seemetamask-extension/ui/app/components/app/app-header/app-header.container.js
for an exampleaccount-details-modal.component.js
should contain the component class and its methods, but there will be no connection to redux within that fileThe text was updated successfully, but these errors were encountered: