This is a quick fix and first step to removing the selected NFT reducer. It ensures that the ordinal detail screen only shows the ordinal that the user selected.
🔄 Changes
Adds a check to ensure that the prepopulated ordinal data matches the selected ordinal.
To test:
Open the gallery page
Click on a collection
Click on an ordinal within the collection
Go back to the home screen from the bottom menu
Go to the gallery view
Click on a different ordinal that is not part of a collection
The current prod version would show the first ordinal selected instead of the one you want to view. The new version will show the correct one.
✅ Review checklist
Please ensure the following are true before merging:
[ ] Code Style is consistent with the project guidelines.
[ ] Code is readable and well-commented.
[ ] No unnecessary or debugging code has been added.
[ ] Security considerations have been taken into account.
[ ] The change has been manually tested and works as expected.
[ ] Breaking changes and their impacts have been considered and documented.
[ ] Code does not introduce new technical debt or issues.
🔘 PR Type
What kind of change does this PR introduce?
📜 Background
This is a quick fix and first step to removing the selected NFT reducer. It ensures that the ordinal detail screen only shows the ordinal that the user selected.
🔄 Changes
Adds a check to ensure that the prepopulated ordinal data matches the selected ordinal.
To test:
The current prod version would show the first ordinal selected instead of the one you want to view. The new version will show the correct one.
✅ Review checklist
Please ensure the following are true before merging: