@7shifts/sous-chef 2.3.1 → 2.3.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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4895,7 +4895,7 @@ var useDateFieldControllers = function useDateFieldControllers(_ref) {
|
|
|
4895
4895
|
error: error,
|
|
4896
4896
|
value: value,
|
|
4897
4897
|
onChange: function onChange(newValue) {
|
|
4898
|
-
return
|
|
4898
|
+
return _onChange && _onChange(dateFns.isDate(newValue) ? dateFns.startOfDay(newValue) : newValue);
|
|
4899
4899
|
},
|
|
4900
4900
|
onBlur: function onBlur() {
|
|
4901
4901
|
return _onBlur && _onBlur();
|