Skip to content

fix(undefind http) #749

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix(undefind http) #749

wants to merge 1 commit into from

Conversation

hicaru
Copy link

@hicaru hicaru commented Jun 16, 2025

fixed mobile zilpay stuck render

}

iframe {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed?

@@ -176,7 +176,7 @@ function Dashboard(props: any) {

if (zilPay) {
networkChanger(
tryGetNetworkLabelByApiUrl(zilPay.wallet.http) || zilPay.wallet.net
Boolean(zilPay.wallet.http) ? tryGetNetworkLabelByApiUrl(zilPay.wallet.http) : zilPay.wallet.net
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
Boolean(zilPay.wallet.http) ? tryGetNetworkLabelByApiUrl(zilPay.wallet.http) : zilPay.wallet.net
!!zilPay.wallet.http ? tryGetNetworkLabelByApiUrl(zilPay.wallet.http) : zilPay.wallet.net

@@ -49,7 +49,7 @@ window['config'] = {
api_list : [
"https://api.zilliqa.com",
"https://ssn-zilliqa.cex.io/api",
// "https://ssn.ignitedao.io/api",
"https://ssn.ignitedao.io/api",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This API was commented out because it was not working properly. Have you checked that it works now?

@@ -7,27 +7,27 @@
"@ledgerhq/hw-transport-u2f": "^5.36.0-deprecated",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not update the package version. We are moving out of Zillion to a new staking platform, so the focus is on keeping it working till then. Updating packages always creates a risk of new bugs materializing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants