mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
chore(biome): update line width biome config
This commit is contained in:
parent
375285feb6
commit
088cc2a8f6
9 changed files with 31 additions and 90 deletions
|
@ -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'}`}
|
||||
>
|
||||
<
|
||||
</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'}`}
|
||||
>
|
||||
>
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue