-
Notifications
You must be signed in to change notification settings - Fork 345
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
bugfix: revert useNFTCollections #8595
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
3 Skipped Deployments
|
00a5299
to
ae25642
Compare
d0a01ee
to
4d63b83
Compare
setNumberOfVisibleCollections( | ||
numberOfVisibleCollections => numberOfVisibleCollections + INCREMENT, | ||
); | ||
if (hasNextPage) { | ||
fetchNextPage(); | ||
} | ||
}, [collectionsLength, fetchNextPage, hasNextPage]); | ||
}, [fetchNextPage, hasNextPage]); |
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.
Why don't we use collectionsLength
anymore?
@@ -26,6 +26,7 @@ const useBreadCrumbModel = () => { | |||
chains: [String(account?.currency.id)], | |||
threshold: isThresholdValid(thresold) ? Number(thresold) : 75, | |||
enabled: nftsFromSimplehashFeature?.enabled || false, | |||
staleTime: nftsFromSimplehashFeature?.params?.staleTime, |
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.
I'm not sure if we want to use staleTime as now I have a request that is sent after some time when I stay on the Collection page. We don't want to send requests if LEdger Live stays open a while on the same page.
54104b3
to
d6a3263
Compare
d6a3263
to
20e9171
Compare
β Checklist
npx changeset
was attached.π Description
Replace this text by a clear and concise description of what this pull request is about and why it is needed. Be sure to explain the problem you're addressing and the solution you're proposing.
For libraries, you can add a code sample of how to use it.
For bug fixes, you can explain the previous behaviour and how it was fixed.
In case of visual features, please attach screenshots or video recordings to demonstrate the changes.
β Context
π§ Checklist for the PR Reviewers