to value is not assignable since upgrade.
Hi ! I tried to upgrade from 1.26.18 to 1.30 and noticed these type errors after trying to build the app.
Type '".."' is not assignable to type '"../create" | "../delete/$vvaId" | "../../" | undefined'
For example, this error is happening here :
In this example, I got theses routes :
- /app/tools/vva
- /create
- /delete/$vvaId
All I want is to redirect to /app/tools/vva route.
Why isn't it working anymore ?
6 Replies
sunny-green•2y ago
@Chris Horobin can you have a look please?
rival-black•2y ago
Is this a branch?
sunny-green•2y ago
ah yeah, does
/app/tools/vva/ have an index route?rival-black•2y ago
It's enforced for relative routing as well.
plain-purpleOP•2y ago
No, it does not have an index route, it has child routes for modals, and I just want to close the modal in this case
Any update on it @Manuel Schiller @Chris Horobin please ?
rival-black•2y ago
Did you upgrade? Should be fixed