import{r as o,s as p,A as n}from"./index-CXyQ5sGC.js";import{t as s}from"./index-FnRUSmLt.js";import"./lodash-CQGrF3PQ.js";const i=({onSucceed:t})=>{const{isConnected:e}=s();return o.useEffect(()=>{e&&p.dispatchEvent("addComponentPopup",{component:"AuthPopup",props:{onSuccess:t,popupContentType:n.RegisterViaWallet}})},[e,t]),null};export{i as default};