From 947830904239d51ec9e94971fed6346c1089911f Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 23 Jan 2023 19:01:28 +0100 Subject: chore: make Links and Images compliant with Next.js 13 --- src/components/organisms/layout/cards-list.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/components/organisms/layout/cards-list.tsx') diff --git a/src/components/organisms/layout/cards-list.tsx b/src/components/organisms/layout/cards-list.tsx index dd05e59..f6cb6ed 100644 --- a/src/components/organisms/layout/cards-list.tsx +++ b/src/components/organisms/layout/cards-list.tsx @@ -6,17 +6,14 @@ import Card, { type CardProps } from '@components/molecules/layout/card'; import { FC } from 'react'; import styles from './cards-list.module.scss'; -export type CardsListItem = Omit< - CardProps, - 'className' | 'coverFit' | 'titleLevel' -> & { +export type CardsListItem = Omit & { /** * The card id. */ id: string; }; -export type CardsListProps = Pick & +export type CardsListProps = Pick & Pick & { /** * Set additional classnames to the list wrapper. @@ -35,7 +32,6 @@ export type CardsListProps = Pick & */ const CardsList: FC = ({ className = '', - coverFit, items, kind = 'unordered', titleLevel, @@ -56,7 +52,6 @@ const CardsList: FC = ({