fix mathjax

This commit is contained in:
Olivier Gagnon
2021-10-13 15:57:15 -04:00
parent b7823f46e4
commit c4e17c3fb3
4 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ export function RamButton(props: IProps): React.ReactElement {
<Tooltip
title={
<MathJaxContext>
<MathJax>{String.raw`\large{cost = 3.2 \times 10^3 \times 1.58^{log_2{(ram)}}}`}</MathJax>
<MathJax>{`\\(\\large{cost = 3.2 \\cdot 10^3 \\cdot 1.58^{log_2{(ram)}}}\\)`}</MathJax>
</MathJaxContext>
}
>