@desynova-digital/components 8.9.1 → 8.9.2
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/atoms/cardV2/cardV2.js +2 -2
- package/package.json +2 -2
package/atoms/cardV2/cardV2.js
CHANGED
|
@@ -82,7 +82,7 @@ var CardV2 = function CardV2(props) {
|
|
|
82
82
|
_react2.default.createElement(_thumbnail2.default, props),
|
|
83
83
|
_react2.default.createElement(_content2.default, props)
|
|
84
84
|
);
|
|
85
|
-
}, []);
|
|
85
|
+
}, [props]);
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* based on width will render the card
|
|
@@ -98,7 +98,7 @@ var CardV2 = function CardV2(props) {
|
|
|
98
98
|
content()
|
|
99
99
|
);
|
|
100
100
|
} else return content();
|
|
101
|
-
}, []);
|
|
101
|
+
}, [props]);
|
|
102
102
|
|
|
103
103
|
return _react2.default.createElement(
|
|
104
104
|
CardStyles,
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desynova-digital/components",
|
|
3
|
-
"version": "8.9.
|
|
3
|
+
"version": "8.9.2",
|
|
4
4
|
"description": "Components for Desynova Digital",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "desynova-digital",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": "desynova-digital",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@desynova-digital/tokens": "8.9.
|
|
10
|
+
"@desynova-digital/tokens": "8.9.2",
|
|
11
11
|
"prop-types": "^15.7.2",
|
|
12
12
|
"styled-components": "^4.3.2"
|
|
13
13
|
},
|