ywana-core8 0.1.53 → 0.1.54
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.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -0
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/site.js +3 -0
package/dist/index.cjs
CHANGED
@@ -3634,6 +3634,7 @@ var SiteMenu = function SiteMenu(_ref6) {
|
|
3634
3634
|
};
|
3635
3635
|
var sections = React.useMemo(function () {
|
3636
3636
|
return children.reduce(function (acc, child) {
|
3637
|
+
if (!child || !child.props) return acc;
|
3637
3638
|
var section = child.props.section || "";
|
3638
3639
|
if (!acc[section]) acc[section] = [];
|
3639
3640
|
var title = child.props.title;
|