import { memo } from 'react'; import { useRichContent } from '@utils/hooks/useRichContent'; export function TextNote(props: { content?: string; truncate?: boolean }) { const { parsedContent } = useRichContent(props.content); if (props.truncate) { return (