wise-white•4y ago
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
other-emerald•4y ago
@zomh Hi, I will debug and inform you 🙏
wise-whiteOP•4y ago
@alicanerdurmaz thanks mate
this is my package json version: "@pankod/refine-react-router-v6": "^3.36.2",
other-emerald•4y 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.
wise-whiteOP•4y ago
@alicanerdurmaz yea sure. thanks for checking. that works for now
other-emerald•4y ago
i will inform you again when we fix types 🙏