@bigbinary/neeto-molecules 3.16.2-beta → 3.16.2-beta-2
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/ShareViaLink.js
CHANGED
|
@@ -1786,11 +1786,12 @@ var ShareViaLink = function ShareViaLink(_ref) {
|
|
|
1786
1786
|
}
|
|
1787
1787
|
}), isPresent(moreOptions) && moreOptions.map(function (_ref2) {
|
|
1788
1788
|
var link = _ref2.link,
|
|
1789
|
-
element = _ref2.element
|
|
1790
|
-
|
|
1789
|
+
element = _ref2.element,
|
|
1790
|
+
path = _ref2.path;
|
|
1791
|
+
if (!link && !path) return null;
|
|
1791
1792
|
return /*#__PURE__*/jsx(Route, {
|
|
1792
1793
|
exact: true,
|
|
1793
|
-
path: link,
|
|
1794
|
+
path: path || link,
|
|
1794
1795
|
children: element
|
|
1795
1796
|
}, link);
|
|
1796
1797
|
})]
|