4
0
forked from crowetic/commerce

Removing HTML Contnt

This commit is contained in:
Belen Curcio 2020-11-26 13:38:37 -03:00
parent fd3cdba4fb
commit c198dbc190
3 changed files with 3 additions and 3 deletions

View File

@ -136,7 +136,7 @@ const ProductView: FC<Props> = ({ product }) => {
))} ))}
<div className="pb-14 break-words w-full max-w-xl"> <div className="pb-14 break-words w-full max-w-xl">
<Text variant="body" html={product.description} /> <Text html={product.description} />
</div> </div>
</section> </section>
<div> <div>

View File

@ -71,7 +71,7 @@ const WishlistCard: FC<Props> = ({ item }) => {
</Link> </Link>
</h3> </h3>
<div className="mb-4"> <div className="mb-4">
<Text variant="body" html={product.description} /> <Text html={product.description} />
</div> </div>
<Button <Button
aria-label="Add to Cart" aria-label="Add to Cart"

View File

@ -66,7 +66,7 @@ export default function Pages({
}: InferGetStaticPropsType<typeof getStaticProps>) { }: InferGetStaticPropsType<typeof getStaticProps>) {
return ( return (
<div className="max-w-2xl mx-auto py-20"> <div className="max-w-2xl mx-auto py-20">
{page?.body && <Text variant="body" html={page.body} />} {page?.body && <Text html={page.body} />}
</div> </div>
) )
} }