Well, I saw the Accounts component and felt It can be refactored for a little more clarity. Feel free to close this in case further breakup of components is not needed.
Description
Two things I modified in this pr.
Moved Account number and balance to a different component.
For lack of better name calling it AccountBalance. ( @TalAter Let me know if you got a better idea )
Moved the map func generating the list of accounts to render function.
Well, I saw the Accounts component and felt It can be refactored for a little more clarity. Feel free to close this in case further breakup of components is not needed.
Description
Two things I modified in this pr.
Moved Account number and balance to a different component. For lack of better name calling it AccountBalance. ( @TalAter Let me know if you got a better idea )
Moved the map func generating the list of accounts to render function.
How Has This Been Tested?
npm tests went well and no errors in the UI.