File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,10 @@ interface IDisplayProductsProps {
4848
4949const DisplayProducts = ( { products } : IDisplayProductsProps ) => (
5050 < section className = "container mx-auto bg-white" >
51- < div id = "product-container" className = "flex flex-wrap items-center mb-[120px] md:mb-0" >
51+ < div
52+ id = "product-container"
53+ className = "flex flex-wrap items-center mb-[120px] md:mb-0"
54+ >
5255 { products ? (
5356 products . map (
5457 ( {
@@ -103,7 +106,6 @@ const DisplayProducts = ({ products }: IDisplayProductsProps) => (
103106 ) }
104107 </ span >
105108 </ Link >
106-
107109 < Link
108110 href = { `/produkt/${ encodeURIComponent (
109111 slug ,
@@ -132,7 +134,9 @@ const DisplayProducts = ({ products }: IDisplayProductsProps) => (
132134 ) }
133135 { /* Display regular price when not on sale */ }
134136 { ! onSale && (
135- < p className = "pt-1 text-center text-gray-900 text-xl" > { price } </ p >
137+ < p className = "pt-1 text-center text-gray-900 text-xl" >
138+ { price }
139+ </ p >
136140 ) }
137141 </ div >
138142 ) ;
You can’t perform that action at this time.
0 commit comments