Skip to content

Commit 3c6298b

Browse files
release(ui-kit): bump to 2.0.15
1 parent d2c917b commit 3c6298b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

packages/ui-kit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pushchain/ui-kit",
3-
"version": "2.0.14",
3+
"version": "2.0.15",
44
"homepage": "https://push.org",
55
"keywords": [
66
"pushchain",

packages/ui-kit/src/lib/context/WalletContext.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ export const WalletContextProvider: FC<PushWalletProviderProps> = ({
179179
setMinimiseWallet(false);
180180
setWalletVisibility(false);
181181
setIframeLoading(true);
182+
setExternalWallet(null);
183+
setIsReadOnly(false);
182184
localStorage.removeItem("walletInfo");
183185
};
184186

@@ -242,10 +244,6 @@ export const WalletContextProvider: FC<PushWalletProviderProps> = ({
242244

243245
const walletInfo = await providerReceived.connect(data.chain);
244246

245-
console.log('@@@@@@@ walletInfo', walletInfo);
246-
console.log('#######', PushChain.utils.account);
247-
console.log('$$$$$$', PushChain.utils.account.fromChainAgnostic);
248-
249247
setConnectionStatus(ConnectionStatus.CONNECTED);
250248
setMinimiseWallet(true);
251249

@@ -582,11 +580,9 @@ export const WalletContextProvider: FC<PushWalletProviderProps> = ({
582580

583581
switch (event.data.type) {
584582
case WALLET_TO_APP_ACTION.CONNECT_EXTERNAL_WALLET:
585-
console.log('External wallet connection req');
586583
handleExternalWalletConnection(event.data.data);
587584
break;
588585
case WALLET_TO_APP_ACTION.IS_LOGGED_IN:
589-
console.log('wallet connected successfully', event.data);
590586
handleIsLoggedInAction();
591587
break;
592588
case WALLET_TO_APP_ACTION.APP_CONNECTION_SUCCESS:

0 commit comments

Comments
 (0)