Fix href is missing query values
This commit is contained in:
parent
72f4a2f603
commit
68da02ec00
|
@ -6,8 +6,8 @@ import { Title } from '../../components/title'
|
||||||
export default function TagPage() {
|
export default function TagPage() {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const { tag } = router.query as { tag: string }
|
const { tag } = router.query as { tag: string }
|
||||||
|
if (!router.isReady) return <div />
|
||||||
|
|
||||||
// TODO: Fix error: The provided `href` (/tag/[tag]?s=newest) value is missing query values (tag)
|
|
||||||
return (
|
return (
|
||||||
<Page>
|
<Page>
|
||||||
<Title text={`#${tag}`} />
|
<Title text={`#${tag}`} />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user