import { Link, routes } from '@redwoodjs/router'
import { MetaTags } from '@redwoodjs/web'
type Props = {
id: number
}
const PlaylistPage: React.FC<Props> = ({ id }) => {
return (
<>
<MetaTags title="Playlist" description="Playlist page" />
<h1>PlaylistPage = {id}</h1>
<p>
Find me in <code>./web/src/pages/PlaylistPage/PlaylistPage.tsx</code>
</p>
<p>
My default route is named <code>playlist</code>, link to me with `
<Link to={routes.playlist()}>Playlist</Link>`
</p>
</>
)
}
export default PlaylistPage
Over in storybook I am getting an error…
Missing parameter ‘id’ for route ‘/playlist/{id:Int}’ when generating a navigation URL.