victory-candlestick
Advanced tools
Comparing version 37.0.1 to 37.0.2
# victory-candlestick | ||
## 37.0.2 | ||
### Patch Changes | ||
- Ensure undefined props do not overwrite defaults ([#2852](https://github.com/FormidableLabs/victory/pull/2852)) | ||
## 37.0.1 | ||
@@ -4,0 +10,0 @@ |
@@ -109,6 +109,3 @@ import _defaults from "lodash/defaults"; | ||
export const Candle = props => { | ||
const modifiedProps = evaluateProps({ | ||
...defaultProps, | ||
...props | ||
}); | ||
const modifiedProps = evaluateProps(_defaults({}, props, defaultProps)); | ||
const { | ||
@@ -115,0 +112,0 @@ ariaLabel, |
@@ -116,6 +116,3 @@ "use strict"; | ||
const Candle = props => { | ||
const modifiedProps = evaluateProps({ | ||
...defaultProps, | ||
...props | ||
}); | ||
const modifiedProps = evaluateProps((0, _defaults2.default)({}, props, defaultProps)); | ||
const { | ||
@@ -122,0 +119,0 @@ ariaLabel, |
{ | ||
"name": "victory-candlestick", | ||
"version": "37.0.1", | ||
"version": "37.0.2", | ||
"description": "Candlestick Component for Victory", | ||
@@ -24,3 +24,3 @@ "keywords": [ | ||
"lodash": "^4.17.19", | ||
"victory-core": "^37.0.1" | ||
"victory-core": "^37.0.2" | ||
}, | ||
@@ -27,0 +27,0 @@ "peerDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1031352
19179
Updatedvictory-core@^37.0.2