From 3341f07136da14cf4cfd718d1083fce581a019b0 Mon Sep 17 00:00:00 2001
From: Liam
Date: Wed, 8 Nov 2023 12:06:52 +0000
Subject: [PATCH] fix href pagination
---
next.config.js | 1 -
src/components/Pagination.tsx | 30 +++++++++++++++---------------
2 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/next.config.js b/next.config.js
index d07c73f..3fc3ca3 100644
--- a/next.config.js
+++ b/next.config.js
@@ -10,7 +10,6 @@ const nextConfig = {
swcMinify: true,
experimental: {
webpackBuildWorker: true,
- optimizeCss: true,
optimizePackageImports: [
"react",
"react-dom",
diff --git a/src/components/Pagination.tsx b/src/components/Pagination.tsx
index b0bae6d..14c8325 100644
--- a/src/components/Pagination.tsx
+++ b/src/components/Pagination.tsx
@@ -31,13 +31,13 @@ export default function Pagination(props: PaginationProps) {
{currentPage > 1 && (
{useHref ? (
-
-
+
-
+
) : (