mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 23:57:55 -05:00
Fix welcomingcommittee mention link href
This commit is contained in:
parent
dc79eb54c3
commit
927a4b915b
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ module.exports = (text, opts) => {
|
|||
if (opts.usernames) {
|
||||
replacedText = reactStringReplace(replacedText, /@([\w-]+)/g, (match, i) => (
|
||||
<a
|
||||
href={`/users/${match}`}
|
||||
href={match.toLowerCase() === 'welcomingcommittee' ? '/studios/146521/' : `/users/${match}`}
|
||||
key={match + i}
|
||||
>@{match}</a>
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue