Move things around
This commit is contained in:
parent
ccdadbe5b7
commit
54c25f2e24
3 changed files with 2 additions and 2 deletions
|
|
@ -1,9 +0,0 @@
|
|||
import { FC, memo } from "react";
|
||||
import ReactMarkdown, { Options } from "react-markdown";
|
||||
|
||||
export const MemoizedReactMarkdown: FC<Options> = memo(
|
||||
ReactMarkdown,
|
||||
(prevProps, nextProps) =>
|
||||
prevProps.children === nextProps.children &&
|
||||
prevProps.className === nextProps.className
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue