Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: disconnect doesn't work #6

Open
Metronomy opened this issue Feb 6, 2023 · 0 comments
Open

bug: disconnect doesn't work #6

Metronomy opened this issue Feb 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Metronomy
Copy link
Contributor

Metronomy commented Feb 6, 2023

Bug Report

Phaser-Starknet-Version version:

See starknet-io/get-starknet#123

Current behavior:

Disconnecting an account doesn't seem to result in any effect with ArgentX wallet, which still displays the accounts connected with the app

Expected behavior:

Should disconnect/logout the account from the app

Steps to reproduce:

Click connect wallet and then disconnect wallet. Then you can see on ArgentX that the account is still connected and if you refresh the page we can still see the wallet connected
Related code:

export function starknetDisconnect(options?: DisconnectOptions) {
    return new Promise<void>((resolve, reject) => {
        disconnect(options) //bug occurs here
            .then(() => {
                ...
            })
            .catch((error) => {
                ...
            });
    });
}

Other information:

@Metronomy Metronomy added the bug Something isn't working label Feb 6, 2023
@Metronomy Metronomy changed the title bug: bug: disconnect doesn't work Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant