forked from crowetic/commerce
Removing HTML Contnt
This commit is contained in:
parent
fd3cdba4fb
commit
c198dbc190
@ -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>
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user