Fix: Changed 'HightLightMarkdown' to 'HighLightMarkdown' (#11803)

### What problem does this PR solve?

Fix: Changed 'HightLightMarkdown' to 'HighLightMarkdown', and replaced
the private component with a public component.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-12-08 11:11:48 +08:00
committed by GitHub
parent 7dd9ce0b5f
commit 5a2011e687
13 changed files with 25 additions and 76 deletions

View File

@ -1,5 +1,5 @@
import CopyToClipboard from '@/components/copy-to-clipboard';
import HightLightMarkdown from '@/components/highlight-markdown';
import HighLightMarkdown from '@/components/highlight-markdown';
import { SharedFrom } from '@/constants/chat';
import { useTranslate } from '@/hooks/common-hooks';
import { IModalProps } from '@/interfaces/common';
@ -111,7 +111,7 @@ const EmbedModal = ({
/>
</Form.Item>
</div>
<HightLightMarkdown>{text}</HightLightMarkdown>
<HighLightMarkdown>{text}</HighLightMarkdown>
</Card>
),
},