James-Lycett / workplace-wellness

0 stars 0 forks source link

adminHome stuff #32

Closed James-Lycett closed 4 months ago

James-Lycett commented 4 months ago

I'm putting this here so you can see it and maybe merge it if you want but I'm far from finished. got stuck on those RadialBar components not updating when I feed them new values. Tried all sorts of conditional rendering and state management but the damn things just say 0%. If I add something like even a comment to the RadialBar component and save it it'll refresh and show the right value but idk how to get the dang thing to refresh dynamically when it's value changes after my api call. Will work on it.

Some of the stuff I added to adminHome is stuff that'll be needed when combining it with userHome.

Changes:

cozyfestiv commented 4 months ago

It should be plugging in OK now let me know if you have any issues.