Skip to content

Commit

Permalink
fix: allow argent webwallet to be set as last connected
Browse files Browse the repository at this point in the history
  • Loading branch information
bluecco committed Mar 19, 2024
1 parent 6a61954 commit d70348d
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 d70348d

Please sign in to comment.