fix lint error

This commit is contained in:
SleeplessOne1917 2024-08-01 15:04:30 -04:00
parent 91c680daf3
commit 885ffd8953

View file

@ -41,7 +41,8 @@ export let customEmojisLookup: Map<string, CustomEmojiView> = new Map<
>();
if (isBrowser()) {
Tribute = await import("tributejs");
// eslint-disable-next-line @typescript-eslint/no-require-imports
Tribute = require("tributejs");
}
export function mdToHtml(text: string, rerender: () => void) {