Describe the bug
If you try to go to galago/App without a valid tree being uploaded, it just shows a blank page. It should instead just route back to the landing page.
Additional context
I tried putting a conditional into App.tsx such that it would use react router's navigate back to the landing page if (!state.tree) but got an error about how you weren't supposed to call navigate in the initial render of your component.
Describe the bug If you try to go to
galago/App
without a valid tree being uploaded, it just shows a blank page. It should instead just route back to the landing page.Additional context I tried putting a conditional into
App.tsx
such that it would use react router'snavigate
back to the landing pageif (!state.tree)
but got an error about how you weren't supposed to callnavigate
in the initial render of your component.