diff --git a/WebGLFrontend/src/WalletProviders/Kukai.ts b/WebGLFrontend/src/WalletProviders/Kukai.ts index 0b3728d2..aff108c8 100644 --- a/WebGLFrontend/src/WalletProviders/Kukai.ts +++ b/WebGLFrontend/src/WalletProviders/Kukai.ts @@ -130,7 +130,7 @@ class KukaiWallet extends BaseWallet implements Wallet { accountInfo: null }; - await this.client.logout(); + await this.client?.logout(); localStorage.removeItem("networkName"); this.CallUnityOnAccountDisconnected(accountInfo); }