mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 11:01:41 +01:00
0d61f78379
This component used to persist form contents to LocalStorage. This was especially useful for the popup UI, as each time the mouse left the popup, the UI was completely torn down and state was lost. This component was only being referenced by one form, and it wasn't even being used there (e.g. no fields were labelled appropriately to be persisted). This was a useful component, and it seems this feature was lost somewhere in the past couple of years. It was tempting to re-instate it rather than delete it, but I decided not to because I'd likely approach the problem differently if we wanted to reinstate it again today (maybe by using a React Hook, or storing the state in Redux and persisting a subset of the Redux store instead). |
||
---|---|---|
.. | ||
account-list-item | ||
send-content | ||
send-footer | ||
send-header | ||
tests | ||
index.js | ||
send.component.js | ||
send.constants.js | ||
send.container.js | ||
send.scss | ||
send.selectors.js | ||
send.utils.js |