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">
<Text variant="body" html={product.description} />
<Text html={product.description} />
</div>
</section>
<div>

View File

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

View File

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