share mute list link with did not handle (#1438)
parent
4977a5d2a3
commit
9c72fcc9b4
|
@ -103,6 +103,10 @@ export class ListModel {
|
|||
return this.list?.viewer?.muted
|
||||
}
|
||||
|
||||
get creatorDid() {
|
||||
return this.list?.creator.did
|
||||
}
|
||||
|
||||
// public api
|
||||
// =
|
||||
|
||||
|
|
|
@ -97,9 +97,9 @@ export const ProfileListScreen = withAuthRequired(
|
|||
}, [store, list])
|
||||
|
||||
const onPressShareList = React.useCallback(() => {
|
||||
const url = toShareUrl(`/profile/${name}/lists/${rkey}`)
|
||||
const url = toShareUrl(`/profile/${list.creatorDid}/lists/${rkey}`)
|
||||
shareUrl(url)
|
||||
}, [name, rkey])
|
||||
}, [list.creatorDid, rkey])
|
||||
|
||||
const renderEmptyState = React.useCallback(() => {
|
||||
return <EmptyState icon="users-slash" message="This list is empty!" />
|
||||
|
|
Loading…
Reference in New Issue