ross-weir / wallet-ex

1 stars 0 forks source link

Add "authenticated" to app state and redirect if not authenticated #15

Open ross-weir opened 2 years ago

ross-weir commented 2 years ago

Currently when users logout of wallet they can navigate backwards and still access the wallet (can't send txs/generate transactions because seed is cleared).

ross-weir commented 2 years ago

Probably don't need an authenticated state, just redirect to wallets list if there's no available seed (the user has logged out of a wallet)

ross-weir commented 2 years ago

Added a hook that contains the authenticated wallet, can redirect back to list page if this is undefined.