ArboreumDev / credit-union-frontend

Frontend in Next.js + Typescript + GraphQL
https://frontend-two-sandy.vercel.app
1 stars 0 forks source link

Dju/new lender invest menu #216

Closed djudjuu closed 3 years ago

djudjuu commented 3 years ago

whats done

NOTE/QUESTIONS

currently we dont refresh the user data, user-data only changes upon page refresh, which is a bit weird when you have hit a button. currently we only fetch the user data in the session callback. To make it more reactive, we could probably write a new Action.GetUserData and use it with useEffect() inside the component. Would that be the correct way to do it?

TODOs:

screenshot_20210519_161514

djudjuu commented 3 years ago

closed in favor of #219 where this view is integrated...the issue that user data is not refreshed remains