Skip to content

[Issue-4924] Refactor code related to get block explorer url#4925

Open
PDTnhah wants to merge 4 commits into
subwallet-devfrom
koni/dev/issue-4924
Open

[Issue-4924] Refactor code related to get block explorer url#4925
PDTnhah wants to merge 4 commits into
subwallet-devfrom
koni/dev/issue-4924

Conversation

@PDTnhah

@PDTnhah PDTnhah commented Dec 29, 2025

Copy link
Copy Markdown

No description provided.

@PDTnhah PDTnhah requested a review from bluezdot December 29, 2025 08:12
@PDTnhah PDTnhah self-assigned this Dec 29, 2025
@PDTnhah PDTnhah linked an issue Dec 29, 2025 that may be closed by this pull request
@saltict

saltict commented Dec 29, 2025

Copy link
Copy Markdown

🚀 Deployed on https://pr-4925--sw-web-runner.netlify.app

@saltict saltict temporarily deployed to pull request December 29, 2025 08:57 Inactive
@saltict saltict temporarily deployed to pull request December 30, 2025 03:26 Inactive
if (explorerLink.includes('uniquescan.io')) {
return 'account';
}
fetchStaticData<ExplorerRoute>('chains/block-explorer-route-map')

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cannot apply .then here, it makes the function always return the fallback value

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.

Refactor code related to get block explorer url

3 participants