Skip to content

Commit

Permalink
disable eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
waalbert committed Jan 26, 2025
1 parent 83b9b9e commit 9ca8b30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ export const InfiniteMovingCards = ({
if (!containerRef.current || !scrollerRef.current) return;

// Clear existing clones

while (scrollerRef.current.children.length > items.length) {
/* eslint-disable-next-line no-unused-expressions*/
scrollerRef.current.lastChild &&
scrollerRef.current.removeChild(scrollerRef.current.lastChild);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import React, { useEffect, useState } from "react";
import box from "@/assets/images/center_chat_box.svg";
import boxBG from "@/assets/images/center_chat_box_bg.svg";
import Link from "next/link";
import Image from "next/image";

export const InfiniteMovingCards = ({
Expand Down Expand Up @@ -131,19 +130,19 @@ export const InfiniteMovingCards = ({
className="absolute inset-0 bg-black group-hover:bg-[#006FB2]"
style={{ transform: "skew(20deg) scale(1.2)" }}
>
<Link
<a
href={item.link}
target="_blank"
className="relative block w-full h-full"
prefetch={false}
>
{/* eslint-disable-next-line @next/next/no-img-element*/}
<img
src={item.image}
alt={item.name}
className="object-cover w-full h-full opacity-75 group-hover:opacity-100"
style={{ maxWidth: "100%" }}
/>
</Link>
</a>
</div>
</div>
</li>
Expand Down

0 comments on commit 9ca8b30

Please sign in to comment.