@sonamu-kit/react-components 0.2.2 → 0.2.3

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.
@@ -87,7 +87,7 @@ function l_() {
87
87
  return p.useEffect(() => (Ca.push(t), () => {
88
88
  const n = Ca.indexOf(t);
89
89
  n > -1 && Ca.splice(n, 1);
90
- }), [e]), {
90
+ }), []), {
91
91
  ...e,
92
92
  toast: c_,
93
93
  dismiss: (n) => lo({ type: "DISMISS_TOAST", toastId: n })
@@ -8012,7 +8012,7 @@ function jV({ children: e, authOptions: t, ...n }) {
8012
8012
  t && !r.current && (r.current = t_(t));
8013
8013
  const o = {
8014
8014
  uploader: n.uploader ?? BM(),
8015
- auth: r.current,
8015
+ auth: n.auth ?? r.current,
8016
8016
  SD: n.SD ?? VM()
8017
8017
  };
8018
8018
  return /* @__PURE__ */ l.jsx(mv.Provider, { value: o, children: e });