fix: not return annotation author error happens (#1793)

This commit is contained in:
Joel
2023-12-19 17:22:54 +08:00
committed by GitHub
parent 43741ad5d1
commit c3275dfd36
4 changed files with 13 additions and 10 deletions

View File

@@ -247,7 +247,7 @@ const Answer: FC<IAnswerProps> = ({
<Markdown className='line-through !text-gray-400' content={content} />
</div>
<EditTitle title={t('appAnnotation.editBy', {
author: annotation?.logAnnotation.account.name,
author: annotation?.logAnnotation.account?.name,
})} />
</div>
)}