disable single attribute per line

This commit is contained in:
jeffvli 2025-07-12 11:17:54 -07:00
parent 92ed8e20c9
commit 8b141d652c
154 changed files with 390 additions and 1800 deletions

View file

@ -53,12 +53,7 @@ export const formatDurationString = (duration: number) => {
};
export const formatRating = (item: Album | AlbumArtist | Song) =>
item.userRating !== null ? (
<Rating
readOnly
value={item.userRating}
/>
) : null;
item.userRating !== null ? <Rating readOnly value={item.userRating} /> : null;
const SIZES = ['B', 'KiB', 'MiB', 'GiB', 'TiB'];

View file

@ -20,12 +20,7 @@ export const replaceURLWithHTMLLinks = (text: string) => {
const link = match[0];
const prefix = link.startsWith('http') ? '' : 'https://';
elements.push(
<a
href={prefix + link}
key={lastIndex}
rel="noopener noreferrer"
target="_blank"
>
<a href={prefix + link} key={lastIndex} rel="noopener noreferrer" target="_blank">
{link}
</a>,
);