Pretify code, remove unnecessary semicolon, function => const
This commit is contained in:
@@ -43,6 +43,6 @@ const Compare = ({products}) =>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>;
|
||||
</div>
|
||||
|
||||
export default Compare;
|
||||
export default Compare
|
||||
|
||||
@@ -17,6 +17,6 @@ const Product = ({product, compare}) =>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>;
|
||||
</div>
|
||||
|
||||
export default Product;
|
||||
export default Product
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import {Product} from '../';
|
||||
import {Product} from '../'
|
||||
|
||||
const ProductList = ({products, compare}) =>
|
||||
<div>
|
||||
@@ -8,6 +8,6 @@ const ProductList = ({products, compare}) =>
|
||||
<Product key={product.id} product={product} compare={compare} />
|
||||
)}
|
||||
</div>
|
||||
</div>;
|
||||
</div>
|
||||
|
||||
export default ProductList;
|
||||
export default ProductList
|
||||
|
||||
Reference in New Issue
Block a user