Hook it up
This commit is contained in:
@@ -43,7 +43,7 @@ function FeedCard({
|
||||
color="secondary"
|
||||
onPress={onPress}
|
||||
style={[a.py_sm, a.pl_sm, a.pr_md, a.rounded_sm, a.gap_sm]}>
|
||||
<UserAvatar avatar="" size={32} type="algo" />
|
||||
<UserAvatar avatar={feed.avatar} size={32} type="algo" />
|
||||
<View style={[a.flex_1, a.gap_2xs, a.pr_sm]}>
|
||||
<Text
|
||||
style={[a.text_sm, a.font_bold, a.leading_tight]}
|
||||
|
||||
@@ -28,7 +28,7 @@ export function Creator() {
|
||||
const {_} = useLingui()
|
||||
const {currentAccount} = useSession()
|
||||
const navigation = useNavigation<NavigationProp>()
|
||||
const {data: currentProfile, isPending} = useProfileQuery({
|
||||
const {data: currentProfile} = useProfileQuery({
|
||||
did: currentAccount?.did,
|
||||
staleTime: 300,
|
||||
})
|
||||
@@ -39,7 +39,7 @@ export function Creator() {
|
||||
rkey,
|
||||
})
|
||||
}
|
||||
const {mutateAsync: createFeed} = useCreateFeedMutation({
|
||||
const {mutateAsync: createFeed, isPending} = useCreateFeedMutation({
|
||||
onSuccess: onSuccessCreate,
|
||||
onError: e => {
|
||||
console.error(e)
|
||||
|
||||
Reference in New Issue
Block a user