mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 04:48:00 +03:00
parent
4af130ca2e
commit
6842cc0f15
@ -57,10 +57,10 @@ const ProfileOverlay = (props: ProfileOverlayProps) => {
|
||||
const innerRef = useRef<HTMLElement | null>(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(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user