update to js
This commit is contained in:
7
dashboard_js/app/routes/orders/$id.jsx
Normal file
7
dashboard_js/app/routes/orders/$id.jsx
Normal file
@@ -0,0 +1,7 @@
|
||||
import { useParams } from 'react-router'
|
||||
|
||||
export default function Component() {
|
||||
const { id } = useParams()
|
||||
|
||||
return <>order single {id}</>
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
export default function Component() {
|
||||
return (
|
||||
<>
|
||||
<title>Pagamentos</title>
|
||||
<p>orders single</p>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user