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: realm search object in url bug #98

Merged

Conversation

agherasie
Copy link
Contributor

Currently, when clicking on a search result on the home page, the url becomes https://gnoscan.io/realms/details?path=[object%20Object] instead of, for example, https://gnoscan.io/realms/details?path=gno.land/r/g1w62226g8hykfmtuasvz80rdf0jl6phgxsphh5v/testing/disperse

image

Which results in an empty details page

This PR fixes this bug by updating the corresponding href to use item.packagePath instead of item, just like it is done elsewhere in the same file.

Copy link

vercel bot commented Jul 16, 2024

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

Name Status Preview Comments Updated (UTC)
gnoscan ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 16, 2024 10:11pm

@jinoosss
Copy link
Member

@agherasie ,
I appreciate your work !

@dongwon8247 dongwon8247 merged commit ab876b6 into onbloc:main Jul 17, 2024
2 checks passed
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