chore(biome): update line width biome config

This commit is contained in:
Shintaro Jokagi 2025-05-15 16:22:26 +12:00
parent 375285feb6
commit 088cc2a8f6
No known key found for this signature in database
GPG key ID: 0DDF8FA44C9A0DA8
9 changed files with 31 additions and 90 deletions

View file

@ -91,9 +91,7 @@ export default function ModsList({ allMods, locale }: ModsListProps) {
<button
type="button"
onClick={() => navigatePage(page - 1)}
className={`px-3 py-2 ${
page === 1 ? 'pointer-events-none text-gray-400' : 'text-dark hover:text-gray-600'
}`}
className={`px-3 py-2 ${page === 1 ? 'pointer-events-none text-gray-400' : 'text-dark hover:text-gray-600'}`}
>
&lt;
</button>
@ -112,9 +110,7 @@ export default function ModsList({ allMods, locale }: ModsListProps) {
}
return (
<span key={value} className="text-sm">
{value
.replace('{totalPages}', totalPages.toString())
.replace('{totalItems}', totalItems.toString())}
{value.replace('{totalPages}', totalPages.toString()).replace('{totalItems}', totalItems.toString())}
</span>
)
})}
@ -122,11 +118,7 @@ export default function ModsList({ allMods, locale }: ModsListProps) {
<button
type="button"
onClick={() => navigatePage(page + 1)}
className={`px-3 py-2 ${
page === totalPages
? 'pointer-events-none text-gray-400'
: 'text-dark hover:text-gray-600'
}`}
className={`px-3 py-2 ${page === totalPages ? 'pointer-events-none text-gray-400' : 'text-dark hover:text-gray-600'}`}
>
&gt;
</button>