import styles from '../../styles/home/categories.module.scss'; import { Link } from '../../types'; export default function Favorites({ favorites }: { favorites: Link[]; }) { return (

Favoris

) } function NoFavLink(): JSX.Element { return (
  • Aucun favoris
  • ) } function LinkFavorite({ link }: { link: Link; }): JSX.Element { const { name, url, category } = link; return (
  • {name} - {category.name}
  • ) }