(wip): add reactions
(qol): update todo
This commit is contained in:
parent
d57940d1b3
commit
7ba08090fe
20 changed files with 4533 additions and 5894 deletions
|
|
@ -22,6 +22,7 @@ export default function Text(props: TextProps) {
|
|||
() => parseMarkdownBlocks(props.value),
|
||||
[props.value],
|
||||
);
|
||||
const renderedBlocks = React.useMemo(() => renderBlocks(blocks), [blocks]);
|
||||
|
||||
return <div className="tm-md-root">{renderBlocks(blocks)}</div>;
|
||||
return <div className="tm-md-root">{renderedBlocks}</div>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue