fix: mention regex
This commit is contained in:
@@ -42,7 +42,7 @@ const renderContent = ({
|
||||
>
|
||||
{reactStringReplace(
|
||||
content,
|
||||
/(\s{1}\@[1-9]+\s{1})/g,
|
||||
/(\s{1}\@[0-9]+\s{1})/g,
|
||||
(match, idx) => {
|
||||
console.log("match", match);
|
||||
const uid = match.trim().slice(1);
|
||||
|
||||
Reference in New Issue
Block a user