style: update everything to biome conventions

This commit is contained in:
DanCodes committed 2024-01-09 13:50:20 +00:00
1 parent 96350fa793
commit c0b9d93880
88 files changed
+491 -708

No files matched your search

+8 -2
View File
@@ -100,6 +100,7 @@ const CarouselSlide = ({ item }) => {
/>
)}
<img
alt={item.Name}
className="hero-carousel-background-image"
src={
item.ParentBackdropItemId
@@ -109,7 +110,9 @@ const CarouselSlide = ({ item }) => {
style={{
opacity: 0,
}}
onLoad={(e) => (e.target.style.opacity = 1)}
onLoad={(e) => {
e.target.style.opacity = 1;
}}
loading="eager"
/>
</>
@@ -156,6 +159,7 @@ const CarouselSlide = ({ item }) => {
item.Name
) : (
<img
alt={item.Name}
className="hero-carousel-text-logo"
src={`${api.basePath}/Items/${item.Id}/Images/Logo?quality=90&tag=${item.ImageTags.Logo}`}
style={{
@@ -163,7 +167,9 @@ const CarouselSlide = ({ item }) => {
transition: "opacity 0.2s",
objectFit: "contain",
}}
onLoad={(e) => (e.target.style.opacity = 1)}
onLoad={(e) => {
e.target.style.opacity = 1;
}}
/>
)}
</Typography>