mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
bug: edit tag img to ImageWithLink
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import Link from 'next/link';
|
||||
import React from 'react';
|
||||
import { ImgWithLink } from 'src/components/common';
|
||||
import s from './RecipesItem.module.scss';
|
||||
interface RecipesItem {
|
||||
image:string,
|
||||
@@ -14,7 +15,7 @@ const RecipesItem = ({ image, name,description, link }: RecipesItem) => {
|
||||
<div className={s.recipesItemImage}>
|
||||
<Link href={link}>
|
||||
<a>
|
||||
<img src={image} />
|
||||
<ImgWithLink src={image} alt="author" />
|
||||
</a>
|
||||
</Link>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user