fix 'startsWith' call on non-string

This commit is contained in:
keyan 2024-05-06 11:26:19 -05:00
parent bc2155c7aa
commit 111053006a
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ export default memo(function Text ({ rel, imgproxyUrls, children, tab, itemId, o
</Link>
)
}
if (text.startsWith('@')) {
if (text.startsWith?.('@')) {
return (
<UserPopover name={text.replace('@', '')}>
<Link