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

fix: pool hook metadata search #200

Merged
merged 2 commits into from
Nov 28, 2024
Merged

fix: pool hook metadata search #200

merged 2 commits into from
Nov 28, 2024

Conversation

alter-eggo
Copy link
Contributor

this pr fixes lost hook tag in pool page header

Copy link

vercel bot commented Nov 28, 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 Nov 28, 2024 9:31am
mono-frontend-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2024 9:31am
mono-test-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2024 9:31am

Comment on lines -13 to -14
const hook = hooks.find(
hook => pool.hook && hook?.addresses[getChainId(pool.chain)]?.includes(pool.hook.address)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

no need to find hook again, same logic is already in useHook

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.

3 participants