about summary refs log tree commit diff
path: root/src/view/com/lists
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-11-13 17:30:56 -0800
committerGitHub <noreply@github.com>2023-11-13 17:30:56 -0800
commita81c4b68fa9ae87dea0b1dec76012ef7a69fca26 (patch)
tree95044e61cab77ab81bb107341ee2904f4170b622 /src/view/com/lists
parent0501c2be778b1a8517da6ea4111bcbd56dc056ed (diff)
downloadvoidsky-a81c4b68fa9ae87dea0b1dec76012ef7a69fca26.tar.zst
Update Muted and Blocked accounts screens (react-query refactor) (#1892)
* Add my-blocked-accounts and my-muted-accounts queries

* Update ProfileCard to use the profile shadow cache and useModerationOpts

* Update blocked accounts and muted accounts screens
Diffstat (limited to 'src/view/com/lists')
-rw-r--r--src/view/com/lists/ListMembers.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view/com/lists/ListMembers.tsx b/src/view/com/lists/ListMembers.tsx
index 4a25c53e6..940761e31 100644
--- a/src/view/com/lists/ListMembers.tsx
+++ b/src/view/com/lists/ListMembers.tsx
@@ -64,6 +64,7 @@ export function ListMembers({
 
   const {
     data,
+    dataUpdatedAt,
     isFetching,
     isFetched,
     isError,
@@ -184,6 +185,7 @@ export function ListMembers({
             (item as AppBskyGraphDefs.ListItemView).subject.handle
           }`}
           profile={(item as AppBskyGraphDefs.ListItemView).subject}
+          dataUpdatedAt={dataUpdatedAt}
           renderButton={renderMemberButton}
           style={{paddingHorizontal: isMobile ? 8 : 14, paddingVertical: 4}}
         />
@@ -196,6 +198,7 @@ export function ListMembers({
       onPressTryAgain,
       onPressRetryLoadMore,
       isMobile,
+      dataUpdatedAt,
     ],
   )