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);