fix: ref attribute in markdown causes page crash (#11369)

Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
Joel
2024-12-05 10:15:21 +08:00
committed by GitHub
parent eca466bdaa
commit 284bb7ac71
2 changed files with 5 additions and 30 deletions

View File

@@ -53,8 +53,7 @@ const ImageGallery: FC<Props> = ({
imagePreviewUrl && (
<ImagePreview
url={imagePreviewUrl}
onCancel={() => setImagePreviewUrl('')}
/>
onCancel={() => setImagePreviewUrl('')} title={''} />
)
}
</div>