@embarkai/ui-kit 0.2.3 → 0.2.4

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
@@ -15470,7 +15470,7 @@ var init_package = __esm({
15470
15470
  "package.json"() {
15471
15471
  package_default = {
15472
15472
  name: "@embarkai/ui-kit",
15473
- version: "0.2.3",
15473
+ version: "0.2.4",
15474
15474
  description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
15475
15475
  type: "module",
15476
15476
  main: "./dist/index.cjs",
@@ -19281,9 +19281,6 @@ import { jsx as jsx96 } from "react/jsx-runtime";
19281
19281
  function Provider(props) {
19282
19282
  const { children, projectId, initialConfig = {}, callbacks } = props;
19283
19283
  const callbacksRef = useRef15(callbacks);
19284
- useEffect38(() => {
19285
- callbacksRef.current = callbacks;
19286
- }, [callbacks]);
19287
19284
  useEffect38(() => notifyNoProjetctId(projectId), [projectId]);
19288
19285
  const config = useRef15(merge3({}, DEFAULT_PROVIDER_CONFIG, { projectId }, initialConfig));
19289
19286
  const updateConfig = useCallback24((updates) => {