Fixed bug

This commit is contained in:
DrMint 2022-06-30 00:09:36 +02:00
parent 3e1ebf74fd
commit df92d97bfa
1 changed files with 2 additions and 1 deletions

View File

@ -26,12 +26,13 @@ export function Markdawn(props: Props): JSX.Element {
const router = useRouter();
const [openLightBox, LightBox] = useLightBox();
// eslint-disable-next-line no-irregular-whitespace
/* eslint-disable no-irregular-whitespace */
const text = useMemo(
() => `${preprocessMarkDawn(rawText)}
`,
[rawText]
);
/* eslint-enable no-irregular-whitespace */
if (text) {
return (