-
Notifications
You must be signed in to change notification settings - Fork 9
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
Domain ID value not correctly recovered from chain data #694
Domain ID value not correctly recovered from chain data #694
Conversation
✅ Deploy Preview for dev-astral ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
PR Reviewer Guide 🔍
|
That was fast! Waiting for the test build to built. |
PR Code Suggestions ✨
|
Something still seems a bit off @marc-aurele-besner |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Marc, seem to work well!
User description
Domain ID value not correctly recovered from chain data
Causing every option to have the domain id 0
PR Type
Bug fix, Enhancement
Description
domainId
assignment in the dropdown mapping function to use the index instead of an incorrect primitive value.Changes walkthrough 📝
useDomainsData.ts
Fix domain ID assignment in dropdown mapping function
explorer/src/hooks/useDomainsData.ts
domainId
assignment to use the index instead of incorrectprimitive value.
domains.ts
Update storage version to 2
explorer/src/states/domains.ts