mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
disable u/link
This commit is contained in:
@@ -74,7 +74,7 @@ const Post = ({ content, postQuoteOnClick, postQuoteOnOver, postQuoteOnLeave, po
|
|||||||
const linkTarget = matchedText.startsWith('u/') ? "_blank" : "_self";
|
const linkTarget = matchedText.startsWith('u/') ? "_blank" : "_self";
|
||||||
|
|
||||||
if (matchedText.startsWith('u/')) {
|
if (matchedText.startsWith('u/')) {
|
||||||
linkTo = `https://plebbitapp.eth.limo/#/${cid}`;
|
linkTo = () => {};
|
||||||
} else if (matchedText.startsWith('p/') || matchedText.startsWith('p/')) {
|
} else if (matchedText.startsWith('p/') || matchedText.startsWith('p/')) {
|
||||||
linkTo = `/${matchedText}`;
|
linkTo = `/${matchedText}`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user