interface: ensure that we display the correct ship name and do not

retain stale state
This commit is contained in:
Logan Allen 2021-02-18 17:18:13 -06:00
parent 9b7ba4392d
commit b363106ea4

View File

@ -266,7 +266,7 @@ export const MessageWithSigil = (props) => {
};
const timer = setTimeout(() => resetDisplay(), 800);
return () => clearTimeout(timer);
}, [displayName]);
}, [shipName, displayName]);
const img =
contact && contact.avatar !== null ? (