useParams not working
hey, I wanted to have my fetch functions for resources in separate file but when I use useParams inside of the fetch function it works just fine the first time but if I switch to different route it returns a proxy object with no params
in my layout its not detecting the params even though its there
SidePanel.jsx:
in my layout its not detecting the params even though its there
SidePanel.jsx:

