Kill tag page
This commit is contained in:
parent
8817aed22e
commit
ea03b43560
|
@ -1,24 +0,0 @@
|
||||||
import { useRouter } from 'next/router'
|
|
||||||
import { useUser } from 'web/hooks/use-user'
|
|
||||||
import { ContractSearch } from '../../components/contract-search'
|
|
||||||
import { Page } from '../../components/page'
|
|
||||||
import { Title } from '../../components/title'
|
|
||||||
|
|
||||||
export default function TagPage() {
|
|
||||||
const router = useRouter()
|
|
||||||
const user = useUser()
|
|
||||||
const { tag } = router.query as { tag: string }
|
|
||||||
if (!router.isReady) return <div />
|
|
||||||
|
|
||||||
return (
|
|
||||||
<Page>
|
|
||||||
<Title text={`#${tag}`} />
|
|
||||||
<ContractSearch
|
|
||||||
user={user}
|
|
||||||
defaultSort="newest"
|
|
||||||
defaultFilter="all"
|
|
||||||
additionalFilter={{ tag }}
|
|
||||||
/>
|
|
||||||
</Page>
|
|
||||||
)
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user