diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-11-27 17:41:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 17:41:30 -0800 |
commit | f580d4daf0d2172fa285a5a87a1bec5100a70f63 (patch) | |
tree | 425c866f9d39a2c193d0b8097bcf01d6bbfe2064 /src/view/screens/Profile.tsx | |
parent | d4714baf13561236a85d44fec144f7f27a149bfd (diff) | |
download | voidsky-f580d4daf0d2172fa285a5a87a1bec5100a70f63.tar.zst |
Restore post-thread caching behaviors (react-query refactor) (#2010)
* Rework resolve-did and resolve-uri queries to be smarter about cache reuse * Precache handle resolutions * Remove old unused code * Load placeholder threads from the post-feed and notifications-feed queries * Remove logs * Fix bad ref * Add loading spinners to the cache-loading thread view * Scroll replies into view when loading threads * Add caching within a thread * Fix: dont show bottom border when the child spinner is active
Diffstat (limited to 'src/view/screens/Profile.tsx')
-rw-r--r-- | src/view/screens/Profile.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx index c3bc598a0..7ddcf17af 100644 --- a/src/view/screens/Profile.tsx +++ b/src/view/screens/Profile.tsx @@ -58,7 +58,7 @@ export function ProfileScreen({route}: Props) { refetch: refetchProfile, isFetching: isFetchingProfile, } = useProfileQuery({ - did: resolvedDid?.did, + did: resolvedDid, }) const onPressTryAgain = React.useCallback(() => { |