react-instantsearch-core
Advanced tools
Comparing version 6.12.0-alpha.1 to 6.12.0-alpha.2
@@ -42,3 +42,7 @@ "use strict"; | ||
var children = _ref.children, | ||
attributesToRender = _ref.attributesToRender; | ||
attributesToRender = _ref.attributesToRender, | ||
_ref$fallbackWidget = _ref.fallbackWidget, | ||
Fallback = _ref$fallbackWidget === void 0 ? function () { | ||
return null; | ||
} : _ref$fallbackWidget; | ||
var widgets = new Map(); | ||
@@ -61,3 +65,5 @@ | ||
key: attribute | ||
}, widgets.get(attribute)); | ||
}, widgets.get(attribute) || _react.default.createElement(Fallback, { | ||
attribute: attribute | ||
})); | ||
})); | ||
@@ -64,0 +70,0 @@ } |
@@ -28,3 +28,7 @@ import _typeof from "@babel/runtime/helpers/esm/typeof"; | ||
var children = _ref.children, | ||
attributesToRender = _ref.attributesToRender; | ||
attributesToRender = _ref.attributesToRender, | ||
_ref$fallbackWidget = _ref.fallbackWidget, | ||
Fallback = _ref$fallbackWidget === void 0 ? function () { | ||
return null; | ||
} : _ref$fallbackWidget; | ||
var widgets = new Map(); | ||
@@ -45,3 +49,5 @@ React.Children.forEach(children, function (child) { | ||
key: attribute | ||
}, widgets.get(attribute)); | ||
}, widgets.get(attribute) || React.createElement(Fallback, { | ||
attribute: attribute | ||
})); | ||
})); | ||
@@ -48,0 +54,0 @@ } |
{ | ||
"name": "react-instantsearch-core", | ||
"version": "6.12.0-alpha.1", | ||
"version": "6.12.0-alpha.2", | ||
"description": "⚡ Lightning-fast search for React, by Algolia", | ||
@@ -48,3 +48,3 @@ "main": "dist/cjs/index.js", | ||
}, | ||
"gitHead": "266e27db5e3ce0f239e7486a9b341d13c8283ae3" | ||
"gitHead": "136de99af808500a12a7131da28c60722fa0e28f" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2124899
20534