aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustice Almanzar <superdash993@gmail.com>2022-12-03 05:32:14 -0500
committerGitHub <noreply@github.com>2022-12-03 11:32:14 +0100
commit54010aab946e722b1aa1b92f8c1da38ae480c9e1 (patch)
treeab41dec9a2cc4bd4fcaef8a73b02f62c330cea54
parent62b2acebe6806c7b0e2ca6a43c6b2419a627b8dc (diff)
downloadVencord-54010aab946e722b1aa1b92f8c1da38ae480c9e1.tar.gz
Vencord-54010aab946e722b1aa1b92f8c1da38ae480c9e1.tar.bz2
Vencord-54010aab946e722b1aa1b92f8c1da38ae480c9e1.zip
fix: hljs fallback (#283)
-rw-r--r--src/plugins/shikiCodeblocks/components/Code.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/shikiCodeblocks/components/Code.tsx b/src/plugins/shikiCodeblocks/components/Code.tsx
index ae41113..ce6a705 100644
--- a/src/plugins/shikiCodeblocks/components/Code.tsx
+++ b/src/plugins/shikiCodeblocks/components/Code.tsx
@@ -17,6 +17,7 @@
*/
import type { IThemedToken } from "@vap/shiki";
+import { hljs } from "@webpack/common";
import { cl } from "../utils/misc";
import { ThemeBase } from "./Highlighter";