chore: fix linter

This commit is contained in:
Steven 2023-11-18 12:44:49 +08:00
parent 2d34615eac
commit 089cd3de87

View file

@ -12,9 +12,11 @@ const inlineRenderer = (rawStr: string) => {
} else if (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>
</div>
);
}
return rawStr;
};