diff --git a/pkg/interface/src/views/apps/chat/components/ChatMessage.tsx b/pkg/interface/src/views/apps/chat/components/ChatMessage.tsx index 8f44bf2b77..51abf71dbc 100644 --- a/pkg/interface/src/views/apps/chat/components/ChatMessage.tsx +++ b/pkg/interface/src/views/apps/chat/components/ChatMessage.tsx @@ -220,7 +220,9 @@ const MessageWrapper = (props) => { return ( @@ -247,6 +249,7 @@ interface ChatMessageProps { api: GlobalApi; highlighted?: boolean; renderSigil?: boolean; + hideHover?: boolean; innerRef: (el: HTMLDivElement | null) => void; } @@ -278,7 +281,8 @@ class ChatMessage extends Component { api, highlighted, showOurContact, - fontSize + fontSize, + hideHover } = this.props; let { renderSigil } = this.props; @@ -315,7 +319,8 @@ class ChatMessage extends Component { api, scrollWindow, highlighted, - fontSize + fontSize, + hideHover }; const unreadContainerStyle = { diff --git a/pkg/interface/src/views/apps/notifications/graph.tsx b/pkg/interface/src/views/apps/notifications/graph.tsx index b382f5cf8d..b469de907a 100644 --- a/pkg/interface/src/views/apps/notifications/graph.tsx +++ b/pkg/interface/src/views/apps/notifications/graph.tsx @@ -32,7 +32,7 @@ const FilterBox = styled(Box)` background: linear-gradient( to bottom, transparent, - ${p => p.theme.colors.white} + ${(p) => p.theme.colors.white} ); `; @@ -81,9 +81,7 @@ const GraphNodeContent = ({ const [{ text }, { url }] = contents; return ; } else if (idx.length === 3) { - return ( - - ); + return ; } return null; } @@ -138,6 +136,7 @@ const GraphNodeContent = ({ msg={post} fontSize='0' pt='2' + hideHover={true} /> ); @@ -182,11 +181,11 @@ const GraphNode = ({ group, read, onRead, - showContact = false, + showContact = false }) => { author = deSig(author); const history = useHistory(); - const contacts = useContactState(state => state.contacts); + const contacts = useContactState((state) => state.contacts); const nodeUrl = getNodeUrl(mod, group?.hidden, groupPath, graph, index); @@ -198,17 +197,15 @@ const GraphNode = ({ }, [read, onRead]); const showNickname = useShowNickname(contacts?.[`~${author}`]); - const nickname = (contacts?.[`~${author}`]?.nickname && showNickname) ? contacts[`~${author}`].nickname : cite(author); + const nickname = + contacts?.[`~${author}`]?.nickname && showNickname + ? contacts[`~${author}`].nickname + : cite(author); return ( {showContact && ( - + )} state.groups); + const groups = useGroupState((state) => state.groups); return ( <>