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

refactor: replace blockExplorer hook by plain TS functions #378

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

agualis
Copy link
Collaborator

@agualis agualis commented Dec 21, 2024

We don't really need a hook for the blockExplorer utilities as we can use plain functions given a tx/address/block + a GqlChain.

This PR removes the old react hook because the rules of react where causing some issues when importing the useBlockExplorer file from pool.helpers, which should not depend on react at all (should be plain TS functions).

Copy link

vercel bot commented Dec 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mono-beets-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 21, 2024 11:29am
mono-frontend-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 21, 2024 11:29am
mono-test-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 21, 2024 11:29am

@agualis agualis merged commit 824d326 into main Dec 24, 2024
11 checks passed
@agualis agualis deleted the refactor/blockExplorer branch December 24, 2024 09:33
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