Skip to content

fix(ui): convert pool address to string for NFD query key#357

Merged
drichar merged 1 commit intodevfrom
fix/ui-link-nfd-to-pool-query-key
Feb 4, 2025
Merged

fix(ui): convert pool address to string for NFD query key#357
drichar merged 1 commit intodevfrom
fix/ui-link-nfd-to-pool-query-key

Conversation

@drichar
Copy link
Copy Markdown
Collaborator

@drichar drichar commented Feb 4, 2025

Description

This PR fixes an issue with NFD query keys in LinkPoolToNfdModal following the algosdk v3 migration: #330

The fix ensures proper address handling for NFD lookups.

Details

  • Convert algosdk.Address object to string when using as query key
  • Fix compatibility with algosdk v3's new getApplicationAddress return type
  • Maintain correct NFD lookup functionality for pool linking

Convert `algosdk.Address` object to string when using as query key in
`LinkPoolToNfdModal`. This fixes an issue introduced by the algosdk v3
migration where `getApplicationAddress` now returns an `Address` class
instead of a string.
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 4, 2025

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

Name Status Preview Comments Updated (UTC)
reti ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2025 7:05pm

@drichar drichar merged commit 7ffcf8c into dev Feb 4, 2025
@drichar drichar deleted the fix/ui-link-nfd-to-pool-query-key branch February 4, 2025 19:25
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.

1 participant