diff --git a/biome.json b/biome.json index a47fe1a..1f2f33b 100644 --- a/biome.json +++ b/biome.json @@ -20,11 +20,7 @@ "useEditorconfig": true }, "files": { - "ignore": [ - "node_modules", - ".git", - "dist" - ] + "ignore": ["node_modules", ".git", "dist"] }, "javascript": { "formatter": { diff --git a/package.json b/package.json index 06bc126..79a587d 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,6 @@ "wrangler": "^3.94.0" }, "lint-staged": { - "src/**/*.{ts,tsx,astro,js,jsx}": [ - "biome check --write ./src" - ] + "src/**/*.{ts,tsx,astro,js,jsx}": ["biome check --write ./src"] } } diff --git a/src/components/ModsList.tsx b/src/components/ModsList.tsx index 5fcf584..7629732 100644 --- a/src/components/ModsList.tsx +++ b/src/components/ModsList.tsx @@ -89,36 +89,36 @@ export default function ModsList({ allMods, locale }: ModsListProps) { return (
-
+ {mods.pagination.pagination.split('{input}').map((value, index) => { if (index === 0) { return ( ) } return ( - + {value.replace('{totalPages}', totalPages.toString()).replace('{totalItems}', totalItems.toString())} ) })} @@ -131,21 +131,21 @@ export default function ModsList({ allMods, locale }: ModsListProps) {