chore: tweaks
This commit is contained in:
@@ -30,7 +30,7 @@ const LinkifyText = ({ url = true, mention = true, mentionTextOnly = false, ment
|
||||
</a>;
|
||||
},
|
||||
url: ({ content, attributes: { href: link } }) => {
|
||||
console.log("attr", link);
|
||||
// console.log("attr", link);
|
||||
if (!url) return <>{content}</>;
|
||||
return <>
|
||||
<a className="link" target="_blank" href={link} rel="noreferrer">
|
||||
|
||||
@@ -63,7 +63,7 @@ const Message: FC<IProps> = ({
|
||||
}
|
||||
}
|
||||
}, [mid, read]);
|
||||
|
||||
if (!message) return null;
|
||||
const {
|
||||
reply_mid,
|
||||
from_uid: fromUid,
|
||||
@@ -91,6 +91,7 @@ const Message: FC<IProps> = ({
|
||||
const _key = properties?.local_id || mid;
|
||||
const showExpire = (expires_in ?? 0) > 0;
|
||||
return (
|
||||
|
||||
<div
|
||||
key={_key}
|
||||
onContextMenu={readOnly ? undefined : handleContextMenuEvent}
|
||||
|
||||
Reference in New Issue
Block a user