2021-04-12 18:05:09 +00:00
|
|
|
import Layout from '../components/layout'
|
2021-04-14 23:56:29 +00:00
|
|
|
import Items from '../components/items'
|
2021-09-06 22:36:08 +00:00
|
|
|
import { useRouter } from 'next/router'
|
2021-04-12 18:05:09 +00:00
|
|
|
|
|
|
|
export default function Index () {
|
2021-09-06 22:36:08 +00:00
|
|
|
const router = useRouter()
|
2021-04-12 18:05:09 +00:00
|
|
|
return (
|
|
|
|
<Layout>
|
2021-09-06 22:36:08 +00:00
|
|
|
<Items variables={{ sort: 'hot' }} rank key={router.query.key} />
|
2021-04-12 18:05:09 +00:00
|
|
|
</Layout>
|
|
|
|
)
|
|
|
|
}
|