mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-02 07:06:41 +03:00
interface: fix fetch to decide when to show share banner
This commit is contained in:
parent
c29608018b
commit
414498b666
@ -59,10 +59,10 @@ export const ShareProfile = (props) => {
|
||||
|
||||
} else {
|
||||
const groupShared = await props.api.contacts.fetchIsAllowed(
|
||||
`~${window.ship}`,
|
||||
'personal',
|
||||
res.entity,
|
||||
res.name,
|
||||
res.entity,
|
||||
false
|
||||
true
|
||||
);
|
||||
setShowBanner(!groupShared);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user