@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/cjs/ShareViaLink.js
CHANGED
|
@@ -1807,11 +1807,12 @@ var ShareViaLink = function ShareViaLink(_ref) {
|
|
|
1807
1807
|
}
|
|
1808
1808
|
}), neetoCist.isPresent(moreOptions) && moreOptions.map(function (_ref2) {
|
|
1809
1809
|
var link = _ref2.link,
|
|
1810
|
-
element = _ref2.element
|
|
1811
|
-
|
|
1810
|
+
element = _ref2.element,
|
|
1811
|
+
path = _ref2.path;
|
|
1812
|
+
if (!link && !path) return null;
|
|
1812
1813
|
return /*#__PURE__*/jsxRuntime.jsx(reactRouterDom.Route, {
|
|
1813
1814
|
exact: true,
|
|
1814
|
-
path: link,
|
|
1815
|
+
path: path || link,
|
|
1815
1816
|
children: element
|
|
1816
1817
|
}, link);
|
|
1817
1818
|
})]
|