You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A hook that returns the authentication token (JWT) for the currently active wallet.
@@ -26,16 +29,20 @@ import { useActiveWallet } from "./useActiveWallet.js";
26
29
* @wallet
27
30
*/
28
31
exportfunctionuseAuthToken(){
29
-
constactiveWallet=useActiveWallet();
30
-
constactiveAccount=useActiveAccount();
31
-
// if the active wallet is an in-app wallet and the active account is the same as the active wallet's account, return the auth token for the in-app wallet
0 commit comments