Skip to content

getNetwork closes window #359

@guillaume-xrpl

Description

@guillaume-xrpl

Hi,

The code below pops the gem wallet into another window and quits unexpectedly without returning to the browser. When I switch back to the browser I see the data but it should be automatic as with other functions.

async getNetwork() {
	isInstalled().then((response) => {
		if (response.result.isInstalled) {
			getNetwork().then((response) => {
			this.network = response.result?.network;
			});
		} else {
			alert('Please install Gem wallet')
		}
	});			
},

Do you know why it's doing this?

I am using Google Chrome on a Macbook Pro.

Best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions