Implement profile updates
This commit is contained in:
@@ -43,7 +43,13 @@ export function Component({}: {}) {
|
||||
handle: fullHandle,
|
||||
})
|
||||
// set the scene profile
|
||||
// TODO
|
||||
await store.api.app.bsky.actor
|
||||
.updateProfile({
|
||||
did: createSceneRes.data.did,
|
||||
displayName,
|
||||
description,
|
||||
})
|
||||
.catch(e => console.error(e)) // an error here is not critical
|
||||
// follow the scene
|
||||
await store.api.app.bsky.graph.follow
|
||||
.create(
|
||||
|
||||
@@ -127,7 +127,7 @@ export const ProfileHeader = observer(function ProfileHeader({
|
||||
if (isCreator) {
|
||||
dropdownItems.push({
|
||||
label: 'Edit Profile',
|
||||
onPress: () => {}, // TODO
|
||||
onPress: onPressEditProfile,
|
||||
})
|
||||
}
|
||||
if (isMember) {
|
||||
|
||||
Reference in New Issue
Block a user