Hack-Weekly / onyx-salamander-bank-app

https://onyx-salamander-bank-app-h7p8.vercel.app/
GNU General Public License v3.0
0 stars 1 forks source link

Account Switcher #5

Open weisintai opened 10 months ago

weisintai commented 10 months ago

For users to switch between accounts.

Zustand is used to manage the global state on client side to store the currently selected account, when the user select an account, should invoke the "changeAccount" function from the store and everything should react from there.

Image

weisintai commented 10 months ago

D