biblio-react 2.2.4 → 2.2.5

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/index.js CHANGED
@@ -22718,12 +22718,15 @@ const $1 = /* @__PURE__ */ o((e) => {
22718
22718
  i,
22719
22719
  (x, O) => Jt(x, {
22720
22720
  onClick: x.props.options ? null : (w) => {
22721
- x.props.onClick && x.props.onClick(w), s(E, x.key);
22721
+ x.props.onClick ? x.props.onClick(w, E) : s(E, x.key);
22722
22722
  },
22723
22723
  options: x.props.options ? x.props.options.map((w) => ({
22724
22724
  ...w,
22725
22725
  onClick: /* @__PURE__ */ o((F) => {
22726
- x.props.onClick && x.props.onClick(F), s(E, w.key);
22726
+ x.props.onClick ? x.props.onClick(F, E) : s(
22727
+ E,
22728
+ w.key
22729
+ );
22727
22730
  }, "onClick")
22728
22731
  })) : null
22729
22732
  })