1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/lib
Mark Stacey 0d61f78379
Remove unused PersistentForm (#7770)
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).
2020-01-10 11:55:27 -04:00
..
account-link.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
etherscan-prefix-for-network.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
icon-factory.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
is-mobile-view.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
local-storage-helpers.js
shallow-with-context.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
test-timeout.js
tx-helper.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
webcam-utils.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30