Open neilenns opened 6 months ago
Toggling the theme causes the socket connection to drop, all the data to go away, and the connect button to stop working. You have to reload the page to fix it.
I might have to go back to a ref for the socket and expose it via the vatsim hook. See https://stackoverflow.com/questions/68185436/properly-typing-useref-values-in-a-react-custom-hook
Toggling the theme causes the socket connection to drop, all the data to go away, and the connect button to stop working. You have to reload the page to fix it.