Closed
Description
Version
5.1.1
Browser and OS info
Chrome 75.0.3770.100 x64 / Windows 10.0.17763 Pro x64
Steps to reproduce
Have a route with redirect
as a function, for example:
{
name: 'editShow-legacy',
path: '/home/editShow',
redirect: to => ({
name: to.name.replace('-legacy', '')
})
}
What is expected?
I'm assuming the same thing as on the meta (right) panel.
Or maybe something a little shorter like: ƒ redirect(...)