diff --git a/pkg/interface/src/views/components/ProfileOverlay.tsx b/pkg/interface/src/views/components/ProfileOverlay.tsx index 6314ce92c..e96ef1dd0 100644 --- a/pkg/interface/src/views/components/ProfileOverlay.tsx +++ b/pkg/interface/src/views/components/ProfileOverlay.tsx @@ -57,10 +57,10 @@ const ProfileOverlay = (props: ProfileOverlayProps) => { const innerRef = useRef(null); const hideAvatars = useSettingsState(state => state.calm.hideAvatars); const hideNicknames = useSettingsState(state => state.calm.hideNicknames); - const isOwn = useMemo(() => `~${window.ship}` === ship, [ship]); + const isOwn = useMemo(() => window.ship === ship, [ship]); - const contact = useContact(ship) - const color = uxToHex(contact?.color ?? '0x0'); + const contact = useContact(`~${ship}`) + const color = `#${uxToHex(contact?.color ?? '0x0')}`; const showNickname = useShowNickname(contact, hideNicknames); const setClosed = useCallback(() => {