b310-digital / teammapper

Mindmapping made simple: Host and create your own mindmaps. Share your mindmap sessions with your team and collaborate on mindmaps.
https://teammapper.org
MIT License
202 stars 16 forks source link

Display an error when map cannot be found #305

Open sorenjohanson opened 2 days ago

sorenjohanson commented 2 days ago

Proposed feature When trying to access a non-existent map, whether /map/abcd or with a proper (non-existent) UUID, an error is displayed in the console:

TypeError: Cannot read properties of null (reading 'uuid')

We should instead display a toast that the map couldn't be found.