1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-20 00:03:08 +00:00

chore: Update katex import path

This commit is contained in:
Gusted 2024-12-18 01:17:23 +01:00
parent 9096a14801
commit 275e029fc9
No known key found for this signature in database
GPG key ID: FD821B732837125F

View file

@ -11,7 +11,7 @@ export async function renderMath() {
if (!els.length) return; if (!els.length) return;
const [{default: katex}] = await Promise.all([ const [{default: katex}] = await Promise.all([
import(/* webpackChunkName: "katex" */'katex'), import(/* webpackChunkName: "katex" */'katex/dist/katex.js'),
import(/* webpackChunkName: "katex" */'katex/dist/katex.css'), import(/* webpackChunkName: "katex" */'katex/dist/katex.css'),
]); ]);