Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Oct 29, 2024
1 parent 5743076 commit d8685d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/thorin-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ens-tools/thorin-core",
"version": "0.1.4-4",
"version": "0.1.4-5",
"type": "module",
"main": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
10 changes: 6 additions & 4 deletions packages/thorin-core/src/components/connect-modal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,13 @@ export class ThorinConnectModal extends LitElement {

const isWalletConnect = this.activeConnector?.type === 'walletConnect';

const isLoading = this.status === 'connecting';
const isDisconnected = this.status === 'disconnected';
const isConnected = this.status === 'connected';
const isLoading = account?.isConnecting || this.status === 'connecting';
const isDisconnected =
account?.isDisconnected || this.status === 'disconnected';
const isConnected = account?.isConnected || this.status === 'connected';
const isErrored = this.status === 'errored';
const isReconnecting = this.status === 'reconnecting';
const isReconnecting =
account?.isReconnecting || this.status === 'reconnecting';

const connectors = wagmiConfig && getConnectors(wagmiConfig);

Expand Down

0 comments on commit d8685d9

Please sign in to comment.