fix: navigate next13.x upgrade
This commit is contained in:
parent
f2029bf4a1
commit
5a7a14da50
23 changed files with 7959 additions and 101 deletions
|
@ -1,4 +1,4 @@
|
|||
import Link from '@/components/Link'
|
||||
import Link from 'next/link'
|
||||
|
||||
interface Props {
|
||||
page: string
|
||||
|
@ -11,7 +11,7 @@ export default function Pagination({ page, totalPages, currentPage }: Props) {
|
|||
const nextPage = currentPage + 1 <= totalPages
|
||||
|
||||
return (
|
||||
<div className="space-y-2 pt-6 pb-8 md:space-y-5">
|
||||
<div className="space-y-2 pb-8 pt-6 md:space-y-5">
|
||||
<nav className="flex justify-between">
|
||||
{!prevPage && (
|
||||
<button className="cursor-auto disabled:opacity-50" disabled={!prevPage}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue