mu-zero-HYPERLOOP / canzero

Control Panel of Mu-Zero Hyperloop Season 4
https://mu-zero.de
6 stars 0 forks source link

Switch between Node pages causes JS errors. #123

Closed NiklasHeneka closed 4 months ago

NiklasHeneka commented 5 months ago

So when you switch between the node pages you get a lot of errors in the JS console.

NiklasHeneka commented 4 months ago

It's related to #127. So the problem is probably someting with multiple useEffects. In showPages we call useEffect and fetch nodes. However the dependensies are empty so the are no renders of certain components?? Can take another look tomorrow, it is weird.