diff --git a/components/dialogs/sign-in-dialog.tsx b/components/dialogs/sign-in-dialog.tsx index 8a05979f..28f2379c 100644 --- a/components/dialogs/sign-in-dialog.tsx +++ b/components/dialogs/sign-in-dialog.tsx @@ -68,21 +68,21 @@ export function SignInDialog({ const id = getWalletId(config) config.setState((x) => ({ ...x, id })) setIsConnecting(true) - // try { - // // GET wallet from relayer - // const wallet = await getWalletFromRelayer(config) - // // If success, return - // if (wallet) { - // config.setState((x) => ({ ...x, status: "in relayer" })) - // toast.success("Successfully signed in", { - // id: toastId, - // icon: undefined, - // }) - // onOpenChange(false) - // setIsConnecting(false) - // return - // } - // } catch (error) {} + try { + // GET wallet from relayer + const wallet = await getWalletFromRelayer(config) + // If success, return + if (wallet) { + config.setState((x) => ({ ...x, status: "in relayer" })) + toast.success("Successfully signed in", { + id: toastId, + icon: undefined, + }) + onOpenChange(false) + setIsConnecting(false) + return + } + } catch (error) {} // GET # logs const blinderShare = config.utils.derive_blinder_share(data)