diff --git a/package.json b/package.json
index b415f52..8f5ea13 100644
--- a/package.json
+++ b/package.json
@@ -9,10 +9,10 @@
"lint": "eslint .",
"preview": "vite preview",
"postinstall": "node scripts/setup-git-hooks.cjs",
- "prepare": "husky"
+ "prepare": "husky install"
},
"lint-staged": {
- "**/*.{js,jsx}": [
+ "**/*.{ts,tsx,js.jsx}": [
"eslint --fix",
"prettier --write"
],
diff --git a/src/components/Pagination.tsx b/src/components/Pagination.tsx
index a382be1..b799a50 100644
--- a/src/components/Pagination.tsx
+++ b/src/components/Pagination.tsx
@@ -52,7 +52,7 @@ export default function Pagination({
const isLastPage = currentPage === totalPages;
return (
-
+
{isTotalPagesMoreThanLimit && (
-