Closed blockjoe closed 2 years ago
finally anywhere that we're removing a user from the cache:
src/components/header/index.js
34: PocketService.removeUserFromCached();
src/views/create/createWallet.jsx
230: pocketService.removeUserFromCached();
We're currently using local storage to pass the addressHex, pubKeyHex, and ppk as state to a few places of the App. We could pass this around instead with useContext for state.
Here is everywhere that we're reading from local storage into state:
and everywhere we're persisting the address, pubKey, and ppk into storage