13 lines
306 B
JavaScript
13 lines
306 B
JavaScript
import Layout from '../components/layout'
|
|
import Items from '../components/items'
|
|
import { useRouter } from 'next/router'
|
|
|
|
export default function Index () {
|
|
const router = useRouter()
|
|
return (
|
|
<Layout>
|
|
<Items variables={{ sort: 'recent' }} rank key={router.query.key} />
|
|
</Layout>
|
|
)
|
|
}
|