From 96d87157aac421f82af2923b99f70532fb964e36 Mon Sep 17 00:00:00 2001 From: umidullo Date: Mon, 13 Nov 2023 18:13:58 +0500 Subject: [PATCH] fix 2? --- package-lock.json | 18 +++++++++--------- package.json | 2 +- pages/portfolio/index.tsx | 1 - 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 472392e..01c9197 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "react-dom": "^18.2.0", "react-fast-marquee": "^1.6.0", "react-hook-form": "^7.46.1", - "react-paginate": "^8.2.0", + "react-paginate": "^8.1.3", "tailwind-merge": "^1.14.0", "tailwindcss": "3.3.3", "typescript": "5.1.6" @@ -3786,11 +3786,11 @@ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, "node_modules/react-paginate": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/react-paginate/-/react-paginate-8.2.0.tgz", - "integrity": "sha512-sJCz1PW+9PNIjUSn919nlcRVuleN2YPoFBOvL+6TPgrH/3lwphqiSOgdrLafLdyLDxsgK+oSgviqacF4hxsDIw==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/react-paginate/-/react-paginate-8.1.3.tgz", + "integrity": "sha512-zBp80DBRcaeBnAeHUfbGKD0XHfbGNUolQ+S60Ymfs8o7rusYaJYZMAt1j93ADDNLlzRmJ0tMF/NeTlcdKf7dlQ==", "dependencies": { - "prop-types": "^15" + "prop-types": "^15.6.1" }, "peerDependencies": { "react": "^16 || ^17 || ^18" @@ -7306,11 +7306,11 @@ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, "react-paginate": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/react-paginate/-/react-paginate-8.2.0.tgz", - "integrity": "sha512-sJCz1PW+9PNIjUSn919nlcRVuleN2YPoFBOvL+6TPgrH/3lwphqiSOgdrLafLdyLDxsgK+oSgviqacF4hxsDIw==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/react-paginate/-/react-paginate-8.1.3.tgz", + "integrity": "sha512-zBp80DBRcaeBnAeHUfbGKD0XHfbGNUolQ+S60Ymfs8o7rusYaJYZMAt1j93ADDNLlzRmJ0tMF/NeTlcdKf7dlQ==", "requires": { - "prop-types": "^15" + "prop-types": "^15.6.1" } }, "read-cache": { diff --git a/package.json b/package.json index 9699d60..a22a5b1 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "react-dom": "^18.2.0", "react-fast-marquee": "^1.6.0", "react-hook-form": "^7.46.1", - "react-paginate": "^8.2.0", + "react-paginate": "^8.1.3", "tailwind-merge": "^1.14.0", "tailwindcss": "3.3.3", "typescript": "5.1.6" diff --git a/pages/portfolio/index.tsx b/pages/portfolio/index.tsx index d53eddc..9adefce 100644 --- a/pages/portfolio/index.tsx +++ b/pages/portfolio/index.tsx @@ -87,7 +87,6 @@ export default function Page({ disabledClassName="border border-white/5 text-white/10" previousLinkClassName="w-full h-full flex items-center justify-center" nextLinkClassName="w-full h-full flex items-center justify-center" - renderOnZeroPageCount={null} /> ) : null}