disable u/link

This commit is contained in:
plebeius.eth
2023-06-27 21:47:54 +02:00
parent 9afd658de7
commit c3c8d61763
+1 -1
View File
@@ -74,7 +74,7 @@ const Post = ({ content, postQuoteOnClick, postQuoteOnOver, postQuoteOnLeave, po
const linkTarget = matchedText.startsWith('u/') ? "_blank" : "_self";
if (matchedText.startsWith('u/')) {
linkTo = `https://plebbitapp.eth.limo/#/${cid}`;
linkTo = () => {};
} else if (matchedText.startsWith('p/') || matchedText.startsWith('p/')) {
linkTo = `/${matchedText}`;
}