use router v6 with search params
Hello 👋
i am trying to programmatically redirect to the create view of a resource and passing some search params.
My code is redirecting correctly but there are no search params in the url:
Can someone point me in the right direction?
Thank you
5 Replies
wise-white•2y ago
@zomh Hi, I will debug and inform you 🙏
like-gold•2y ago
@alicanerdurmaz thanks mate
this is my package json version: "@pankod/refine-react-router-v6": "^3.36.2",
wise-white•2y ago
@zomh Sorry for your trouble, I guess we have bug on
push()
function's type
can you use like this now ? we will discuss on monday with the core team and we will fix.
like-gold•2y ago
@alicanerdurmaz yea sure. thanks for checking. that works for now
wise-white•2y ago
i will inform you again when we fix types 🙏