@mjhls/mjh-framework 1.0.993-topelement-v2 → 1.0.993-topelement-v4

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.
@@ -95,8 +95,7 @@ function generateSchema(props) {
95
95
  }
96
96
 
97
97
  var Schema = function Schema(props) {
98
- console.log("props schema==>", props);
99
- return React__default["default"].createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: stringify._JSON$stringify(generateSchema(props)) } });
98
+ return props == null ? 'test' : React__default["default"].createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: stringify._JSON$stringify(generateSchema(props)) } });
100
99
  };
101
100
 
102
101
  module.exports = Schema;
@@ -89,8 +89,7 @@ function generateSchema(props) {
89
89
  }
90
90
 
91
91
  var Schema = function Schema(props) {
92
- console.log("props schema==>", props);
93
- return React__default.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
92
+ return props == null ? 'test' : React__default.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
94
93
  };
95
94
 
96
95
  export { Schema as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.993-topelement-v2",
3
+ "version": "1.0.993-topelement-v4",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",