homeflowjs 1.0.62 → 1.0.64

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": "homeflowjs",
3
- "version": "1.0.62",
3
+ "version": "1.0.64",
4
4
  "sideEffects": [
5
5
  "modal/**/*",
6
6
  "user/default-profile/**/*",
@@ -135,7 +135,7 @@ const LoadMoreButton = (props) => {
135
135
  };
136
136
 
137
137
  LoadMoreButton.propTypes = {
138
- children: PropTypes.node.isRequired,
138
+ children: PropTypes.node,
139
139
  Loader: PropTypes.elementType,
140
140
  isHidden: PropTypes.bool,
141
141
  isRouterLink: PropTypes.bool,
@@ -145,6 +145,7 @@ LoadMoreButton.defaultProps = {
145
145
  Loader: DefaultLoader,
146
146
  isHidden: false,
147
147
  isRouterLink: false,
148
+ children: null,
148
149
  };
149
150
 
150
151
  export default LoadMoreButton;
@@ -90,7 +90,7 @@ const PropertiesDisplay = ({
90
90
  const propertiesLength = properties.length;
91
91
  const propertiesInsertsMap = new Map();
92
92
 
93
- inserts.forEach((insert) => {
93
+ inserts?.forEach((insert) => {
94
94
  const property = properties[insert.index - 1] || properties[propertiesLength - 1];
95
95
  propertiesInsertsMap.set(property.property_id, insert);
96
96
  });