style: update everything to biome conventions
This commit is contained in:
88 files changed
+491
-708
No files matched your search
@@ -72,6 +72,7 @@ export const ActorCard = ({
|
||||
<div className="material-symbols-rounded">person</div>
|
||||
</div>
|
||||
<img
|
||||
alt={item.Name}
|
||||
src={api.getItemImageUrl(
|
||||
seriesId ? item.SeriesId : item.Id,
|
||||
"Primary",
|
||||
@@ -87,7 +88,9 @@ export const ActorCard = ({
|
||||
opacity: 0,
|
||||
}}
|
||||
loading="lazy"
|
||||
onLoad={(e) => (e.target.style.opacity = 1)}
|
||||
onLoad={(e) => {
|
||||
e.target.style.opacity = 1;
|
||||
}}
|
||||
className="card-image"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -130,6 +130,7 @@ export const Card = ({
|
||||
{overrideIcon ? getTypeIcon(overrideIcon) : getTypeIcon(item.Type)}
|
||||
</div>
|
||||
<img
|
||||
alt={item.Name}
|
||||
src={
|
||||
overrideIcon === "User"
|
||||
? `${api.basePath}/Users/${item.Id}/Images/Primary`
|
||||
@@ -155,7 +156,9 @@ export const Card = ({
|
||||
opacity: 0,
|
||||
}}
|
||||
loading="lazy"
|
||||
onLoad={(e) => (e.target.style.opacity = 1)}
|
||||
onLoad={(e) => {
|
||||
e.target.style.opacity = 1;
|
||||
}}
|
||||
className="card-image"
|
||||
/>
|
||||
<div className="card-overlay">
|
||||
|
||||
@@ -86,6 +86,7 @@ export const EpisodeCard = ({
|
||||
<div className="material-symbols-rounded">tv_gen</div>
|
||||
</div>
|
||||
<img
|
||||
alt={item.Name}
|
||||
src={api.getItemImageUrl(item.Id, "Primary", {
|
||||
quality: 90,
|
||||
fillHeight: 512,
|
||||
@@ -97,7 +98,9 @@ export const EpisodeCard = ({
|
||||
opacity: 0,
|
||||
}}
|
||||
loading="lazy"
|
||||
onLoad={(e) => (e.target.style.opacity = 1)}
|
||||
onLoad={(e) => {
|
||||
e.target.style.opacity = 1;
|
||||
}}
|
||||
className="card-image"
|
||||
/>
|
||||
|
||||
|
||||
Reference in new issue
Block a user