update notification

This commit is contained in:
Ren Amamiya
2023-07-23 15:54:34 +07:00
parent f0fb1bee1e
commit 13ca8a2c54
10 changed files with 116 additions and 48 deletions

View File

@@ -56,8 +56,8 @@ export const MentionNote = memo(function MentionNote({ id }: { id: string }) {
},
}}
>
{data?.content?.parsed?.length > 200
? data.content.parsed.substring(0, 200) + '...'
{data?.content?.parsed?.length > 160
? data.content.parsed.substring(0, 160) + '...'
: data.content.parsed}
</ReactMarkdown>
</div>