Skip to content

Commit 2432065

Browse files
frontend linting fix
1 parent b4e2be5 commit 2432065

File tree

7 files changed

+178
-176
lines changed

7 files changed

+178
-176
lines changed

frontend/src/components/Memories/FeaturedMemoryCard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ interface FeaturedMemoryCardProps {
2929
export const FeaturedMemoryCard = React.memo<FeaturedMemoryCardProps>(
3030
({ images, years, memoryId }) => {
3131
const navigate = useNavigate();
32-
32+
3333
// Get the first image as hero
3434
const heroImage = images[0];
3535

@@ -55,7 +55,7 @@ export const FeaturedMemoryCard = React.memo<FeaturedMemoryCardProps>(
5555
return (
5656
<div
5757
onClick={handleClick}
58-
className="group transform cursor-pointer overflow-hidden rounded-xl border bg-card shadow-lg transition-all duration-300 hover:scale-[1.01] hover:shadow-2xl"
58+
className="group bg-card transform cursor-pointer overflow-hidden rounded-xl border shadow-lg transition-all duration-300 hover:scale-[1.01] hover:shadow-2xl"
5959
role="button"
6060
tabIndex={0}
6161
onKeyDown={(e) => {
@@ -68,7 +68,7 @@ export const FeaturedMemoryCard = React.memo<FeaturedMemoryCardProps>(
6868
>
6969
<div className="relative">
7070
{/* Hero Image */}
71-
<div className="relative h-64 w-full overflow-hidden bg-muted md:h-96 lg:h-[28rem]">
71+
<div className="bg-muted relative h-64 w-full overflow-hidden md:h-96 lg:h-[28rem]">
7272
<img
7373
src={thumbnailUrl}
7474
alt="On This Day"

0 commit comments

Comments
 (0)