frontend: FunctionsList et début de /admin

This commit is contained in:
Divlo
2020-04-11 21:07:13 +02:00
parent 02058fc2fb
commit c157f7e922
9 changed files with 213 additions and 98 deletions

View File

@ -169,7 +169,7 @@ const Profile = (props) => {
<div className="row justify-content-center">
{props.favoritesArray.map((favorite) => {
return (
<FunctionCard key={favorite.id} slug={favorite.slug} image={favorite.image} title={favorite.title} description={favorite.description} type={favorite.type} category={favorite.categorie} publicationDate={date.format(new Date(favorite.createdAt), 'DD/MM/YYYY', true)} />
<FunctionCard key={favorite.id} { ...favorite } />
);
})}
</div>