@woosmap/ui 4.6.0 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.6.0",
3
+ "version": "4.7.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -35,20 +35,12 @@ const productImg = {
35
35
  class Footer extends Component {
36
36
  render() {
37
37
  const { products, ...rest } = this.props;
38
- return (
39
- <div className="use-case__product-item" {...rest}>
40
- {products.map((product) => (
41
- <>
42
- <img
43
- className="use-case__product-item__image"
44
- src={productImg[product.id]}
45
- alt={product.name}
46
- />
47
- <span className="use-case__product-item__name">{product.name}</span>
48
- </>
49
- ))}
38
+ return products.map((product) => (
39
+ <div className="use-case__product-item" {...rest} key={product.id}>
40
+ <img className="use-case__product-item__image" src={productImg[product.id]} alt={product.name} />
41
+ <span className="use-case__product-item__name">{product.name}</span>
50
42
  </div>
51
- );
43
+ ));
52
44
  }
53
45
  }
54
46
 
@@ -2,7 +2,6 @@
2
2
  br()
3
3
  box()
4
4
  width 30rem
5
- height 100%
6
5
  transition .2s all
7
6
  display flex
8
7
  flex-direction column