ublo-lib 1.20.10 → 1.20.11

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.
@@ -31,7 +31,8 @@ export default function Sheet({
31
31
  uri
32
32
  } = instructor;
33
33
  const {
34
- lang
34
+ lang,
35
+ path
35
36
  } = useUbloContext();
36
37
  const [loading, setLoading] = React.useState(true);
37
38
  const [picture, setPicture] = React.useState(photo);
@@ -49,6 +50,7 @@ export default function Sheet({
49
50
  const classes = classNames(css.container, {
50
51
  [css.containerPopup]: popup
51
52
  });
53
+ const key = `${lang}-${path}${prenom}-${nom}`;
52
54
  return _jsxs("div", {
53
55
  className: classes,
54
56
  children: [_jsxs("div", {
@@ -71,8 +73,8 @@ export default function Sheet({
71
73
  alt: `${prenom} ${nom}`,
72
74
  onLoad: stopLoading,
73
75
  onError: setFallbackPicture,
74
- width: "190",
75
- height: "250"
76
+ width: "200",
77
+ height: "280"
76
78
  }, uri)]
77
79
  }) : _jsx("div", {
78
80
  className: css.imagePlaceholder,
@@ -167,5 +169,5 @@ export default function Sheet({
167
169
  customSend: formSendFunction(prenom, nom)
168
170
  })]
169
171
  })]
170
- });
172
+ }, key);
171
173
  }
@@ -38,8 +38,8 @@
38
38
 
39
39
  .imageContainer {
40
40
  position: relative;
41
- width: 130px;
42
- height: 180px;
41
+ width: 200px;
42
+ height: 280px;
43
43
  display: flex;
44
44
  align-items: center;
45
45
  justify-content: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.20.10",
3
+ "version": "1.20.11",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^3.1.5",
6
6
  "leaflet": "^1.9.1",