docs: fix heading import in ui route docs (#10167)

This commit is contained in:
Shahed Nasser
2024-11-19 18:49:07 +02:00
committed by GitHub
parent 85f9c2b85a
commit 7a3c6acf31
2 changed files with 8 additions and 12 deletions
@@ -175,7 +175,7 @@ For example, create the file `src/admin/routes/custom/[id]/page.tsx` with the fo
```tsx title="src/admin/routes/custom/[id]/page.tsx" highlights={[["5", "", "Retrieve the path parameter."], ["10", "{id}", "Show the path parameter."]]}
import { useParams } from "react-router-dom"
import { Container } from "@medusajs/ui"
import { Container, Heading } from "@medusajs/ui"
const CustomPage = () => {
const { id } = useParams()