From 9d9155b057576ab8da0f0d752b9c4e3f358d6761 Mon Sep 17 00:00:00 2001 From: Rushikeshnimkar Date: Mon, 14 Oct 2024 12:17:22 +0530 Subject: [PATCH] update :login aptos and solana api --- components/Login/aptos.tsx | 2 +- components/Login/solana.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Login/aptos.tsx b/components/Login/aptos.tsx index aed519d..459fb38 100644 --- a/components/Login/aptos.tsx +++ b/components/Login/aptos.tsx @@ -67,7 +67,7 @@ export const useAptosWallet = () => { Cookies.set("erebrus_userid", userId, { expires: 7 }); Cookies.set("Chain_symbol", chainsym, { expires: 7 }); - // window.location.reload(); + window.location.reload(); } catch (error) { console.error(error); setshowsignbuttonaptos(true); diff --git a/components/Login/solana.tsx b/components/Login/solana.tsx index 26ba068..64ec8c3 100644 --- a/components/Login/solana.tsx +++ b/components/Login/solana.tsx @@ -111,7 +111,7 @@ export const useSolWallet = (setshowsignbutton) => { Cookies.set("erebrus_wallet", publicKey, { expires: 7 }); Cookies.set("erebrus_userid", userId, { expires: 7 }); - // window.location.reload(); + window.location.reload(); } catch (error) { console.error(error); setshowsignbutton(true);