interfacerproject / interfacer-gui

Evolution of Zenflow-gui for Interfacer project
7 stars 6 forks source link

Navigation sidebar: if error on page, items keys are displayed (instead of values) #202

Open andrea-dintino opened 1 year ago

andrea-dintino commented 1 year ago

Currently this asset produces the error "TypeError: b.map is not a function": https://interfacer-gui-staging.dyne.org/asset/0620KWK17KTXYYBF176P9BXM28

see: https://gyazo.com/3e447c9434b5e1c80112e8da21e5e4c0

In this state, the Navigation sidebar displays keys ("my_assets" etc), see: https://gyazo.com/cd62973ab65bf59aba3f08f09ac25fdd

phoebus-84 commented 1 year ago

The solution could be crate a custom error page to handle errors.. https://nextjs.org/docs/advanced-features/error-handling