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

How to display only one collection in 'View'? #13

Open
DigitalTechnicality opened this issue Jan 3, 2022 · 0 comments
Open

How to display only one collection in 'View'? #13

DigitalTechnicality opened this issue Jan 3, 2022 · 0 comments

Comments

@DigitalTechnicality
Copy link

I want to only display NFTs from a certain collection. I tried adding functions like this in NFTget.ts:

function filterAgain(NFTs: INFT[]): INFT[] {
return NFTs.filter(
(n) =>
n.metadataOnchain.updateAuthority == 'HwMBMB6QpPJNyFnbVtt2UKVmJQPGnKKsMfaxNUyWahmc'
)

However this did not work. Could someone give me a hint what I could do to only display one collection? Thanks in advance and leave a Solana tipping wallet if you would like.

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

No branches or pull requests

1 participant