fix: navigate next13.x upgrade

This commit is contained in:
Cory Dransfeldt 2023-06-17 11:36:33 -07:00
parent f2029bf4a1
commit 5a7a14da50
No known key found for this signature in database
23 changed files with 7959 additions and 101 deletions

View file

@ -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}>