@jetshop/template-trend 6.2.7 → 6.2.8

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": "@jetshop/template-trend",
3
- "version": "6.2.7",
3
+ "version": "6.2.8",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "build": "react-scripts build",
@@ -45,11 +45,11 @@
45
45
  ]
46
46
  },
47
47
  "dependencies": {
48
- "@jetshop/core": "^6.2.7",
48
+ "@jetshop/core": "^6.2.8",
49
49
  "@jetshop/flight-shortcodes": "^2.0.10",
50
- "@jetshop/intl": "^6.2.7",
51
- "@jetshop/react-scripts": "^6.2.7",
52
- "@jetshop/ui": "^6.2.7",
50
+ "@jetshop/intl": "^6.2.8",
51
+ "@jetshop/react-scripts": "^6.2.8",
52
+ "@jetshop/ui": "^6.2.8",
53
53
  "@react-google-maps/api": "~2.18.1",
54
54
  "prop-types": "^15.6.2",
55
55
  "react": "^18",
@@ -77,7 +77,7 @@ export function Favourites() {
77
77
  return (
78
78
  <MaxWidth className={cx(container, loading ? 'loading' : null)}>
79
79
  <ul className="product-grid">
80
- {products.map((product, index) => {
80
+ {products.map(product => {
81
81
  return (
82
82
  <li
83
83
  key={product.variant?.articleNumber || product.articleNumber}
@@ -146,6 +146,8 @@ const container = css`
146
146
  margin-top: 2em;
147
147
  &.loading {
148
148
  opacity: 0.6;
149
+ min-height: 400px;
150
+ text-align: center;
149
151
  }
150
152
 
151
153
  h1 {