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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.1.53",
3
+ "version": "0.1.54",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
package/src/site/site.js CHANGED
@@ -241,6 +241,9 @@ const SiteMenu = ({ iconSrc, title, children, min }) => {
241
241
 
242
242
  const sections = useMemo(() => {
243
243
  return children.reduce((acc, child) => {
244
+
245
+ if (!child || !child.props) return acc
246
+
244
247
  const section = child.props.section || "";
245
248
  if (!acc[section]) acc[section] = [];
246
249
  const { title } = child.props;