import {type FunctionComponent} from 'react'
import FavoriteCard from '@/app/authenticated/contacts/favoriteCard'
import type {Contact} from '@/models/contact'

const FavoritesList: FunctionComponent = () => {
  const favorites: Contact[] = []

  return (
    <>
      {favorites.map(f => (
        <FavoriteCard key={f.id} {...f} />
      ))}
    </>
  )
}

export default FavoritesList
