mol_jsx_lib 0.0.57 → 0.0.58

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/node.esm.js CHANGED
@@ -826,7 +826,7 @@ var $;
826
826
  $.$mol_jsx_frag = '';
827
827
  function $mol_jsx(Elem, props, ...childNodes) {
828
828
  const id = props && props.id || '';
829
- const guid = $.$mol_jsx_prefix + id;
829
+ const guid = id ? $.$mol_jsx_prefix ? $.$mol_jsx_prefix + '/' + id : id : $.$mol_jsx_prefix;
830
830
  if (Elem && $.$mol_jsx_booked) {
831
831
  if ($.$mol_jsx_booked.has(id)) {
832
832
  $mol_fail(new Error(`JSX already has tag with id ${JSON.stringify(guid)}`));