Skip to content

Commit

Permalink
Update publications once publicationsIds change (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
desfero authored Aug 29, 2023
1 parent b4ab25c commit 5f25106
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/loud-actors-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@lens-protocol/api-bindings": patch
"@lens-protocol/react": patch
"@lens-protocol/react-web": patch
---

**Fixed** `usePublications` to refetch on `publicationIds` change
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export function createPublicationsFieldPolicy() {
'commentsRankingFilter',
'sources',
'metadata',
'publicationIds',
],
],
'$observerId',
Expand Down
2 changes: 2 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5f25106

Please sign in to comment.