Skip to content

Commit

Permalink
Merge pull request #86 from argentlabs/fix/last-connector
Browse files Browse the repository at this point in the history
fix: allow argent webwallet to be set as last connected
  • Loading branch information
bluecco authored Mar 19, 2024
2 parents 6a61954 + d70348d commit 1c531bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const connect = async ({
const connectorData = (await connector?.connect()) ?? null

if (resultType === "wallet") {
if (connector !== null && connector.id !== "argentWebWallet") {
if (connector !== null) {
setStarknetLastConnectedWallet(connector.id)
}

Expand Down

0 comments on commit 1c531bb

Please sign in to comment.