Skip to content

Commit

Permalink
Fix ESLint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hasparus committed Feb 5, 2025
1 parent e38bae6 commit c016fc3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/src/app/(landing-pages)/truly-extendable.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/ban-ts-comment */
import { ComponentProps, FC } from 'react';
import Image from 'next/image';
import NextLink from 'next/link';
Expand Down Expand Up @@ -111,7 +110,7 @@ function InfoCardLink({ href, ...rest }: InfoCardLinkProps) {
<InfoCard
{
/* hack: InfoCard doesn't expect to be a link */
...({ as: NextLink, href } as any as { as: 'div' })
...({ as: NextLink, href } as unknown as { as: 'div' })
}
className="[&_h3]:text-white [&_h3]:text-base [&_p]:text-sm [&_p]:text-white/80 bg-green-900 hover:bg-green-800 focus-visible:bg-green-800 duration-300 rounded-2xl hive-focus !p-6 max-sm:w-[280px] shrink-0"
{...rest}
Expand Down

0 comments on commit c016fc3

Please sign in to comment.