mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 10:02:47 +03:00
Merge pull request #4459 from urbit/la/fix-434
interface: ensure that we display the correct ship name and do not retain stale state
This commit is contained in:
commit
ddeb7eec94
@ -114,7 +114,6 @@ export function ChatResource(props: ChatResourceProps) {
|
||||
} else {
|
||||
setShowBanner(false);
|
||||
}
|
||||
|
||||
} else {
|
||||
const groupShared = await props.api.contacts.fetchIsAllowed(
|
||||
`~${window.ship}`,
|
||||
@ -127,7 +126,7 @@ export function ChatResource(props: ChatResourceProps) {
|
||||
|
||||
setHasLoadedAllowed(true);
|
||||
})();
|
||||
}, [groupPath]);
|
||||
}, [groupPath, group]);
|
||||
|
||||
if(!graph) {
|
||||
return <Loading />;
|
||||
|
@ -270,7 +270,7 @@ export const MessageWithSigil = (props) => {
|
||||
};
|
||||
const timer = setTimeout(() => resetDisplay(), 800);
|
||||
return () => clearTimeout(timer);
|
||||
}, [displayName]);
|
||||
}, [shipName, displayName]);
|
||||
|
||||
const img = contact?.avatar && !hideAvatars ? (
|
||||
<BaseImage
|
||||
|
Loading…
Reference in New Issue
Block a user