Convert object shape
This commit is contained in:
@@ -427,7 +427,7 @@ let PreviewableUserAvatar = ({
|
||||
|
||||
const onPress = React.useCallback(() => {
|
||||
onBeforePress?.()
|
||||
precacheProfile(queryClient, profile)
|
||||
precacheProfile(queryClient, atp.profile.anyToBasic(profile))
|
||||
}, [profile, queryClient, onBeforePress])
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user