mirror of
https://github.com/usememos/memos.git
synced 2024-12-20 09:41:58 +03:00
chore: fix linter
This commit is contained in:
parent
2d34615eac
commit
089cd3de87
@ -12,9 +12,11 @@ const inlineRenderer = (rawStr: string) => {
|
|||||||
} else if (matchResult[2]) {
|
} else if (matchResult[2]) {
|
||||||
latexCode = matchResult[2];
|
latexCode = matchResult[2];
|
||||||
}
|
}
|
||||||
return <div className="max-w-full overflow-x-auto">
|
return (
|
||||||
|
<div className="max-w-full overflow-x-auto">
|
||||||
<TeX key={latexCode}>{latexCode}</TeX>
|
<TeX key={latexCode}>{latexCode}</TeX>
|
||||||
</div>
|
</div>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
return rawStr;
|
return rawStr;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user