You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
useParams does work, but the issue is a bug in 2.0.0 that prevents nested pages as a whole from working. The issue has been resolved and will be part of 2.0.1, which will be released soon. In the meantime, you can get around the issue by adding this resolution in your package.json:
Bug report
I have implemented admin ui routes to get custom development , in that i cannot access path parameters
Describe the bug
when we are passing the path parameters in browser URL , it is not printed in the page or in the console.
System information
Medusa version (including plugins): v2
Node.js version: v20.13.1
Database: postgresql
Browser (if relevant): chrome
Steps to reproduce the behavior
src/admin/routes/brand/[id]/page.tsx
Expected behavior
http://localhost:9000/app/brand/123
=> Passed ID: 123 orScreenshots
https://github.com/user-attachments/assets/6c43ce8b-6a42-476f-be87-675079645b20
Code snippets
src/admin/routes/brand/page.tsx
src/admin/brand/[id]/page.tsx
The text was updated successfully, but these errors were encountered: